We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a7bd6a commit 5c8f206Copy full SHA for 5c8f206
README.md
@@ -14,18 +14,17 @@ Install the behavior adding `php-vcr/vcr-bundle` to your composer.json or
14
from CLI:
15
16
```bash
17
-php composer.phar require php-vcr/vcr-bundle
+composer require php-vcr/vcr-bundle
18
```
19
20
-And declare the bundle in your `app/AppKernel.php` file:
+And declare the bundle in your `config/bundles.php` file:
21
22
```php
23
-public function registerBundles()
24
-{
25
- if (in_array($this->getEnvironment(), array('dev', 'test'))) {
26
- $bundles[] = new VCR\VCRBundle\VCRVCRBundle();
27
- }
28
-}
+return [
+ // ...
+ VCR\VCRBundle\VCRVCRBundle::class => ['test' => true],
+];
+
29
30
31
## Configuration reference
0 commit comments