Skip to content

Commit 5c8f206

Browse files
Simon Huebnerkeoz-higidi
authored andcommitted
modify readme
1 parent 7a7bd6a commit 5c8f206

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,17 @@ Install the behavior adding `php-vcr/vcr-bundle` to your composer.json or
1414
from CLI:
1515

1616
```bash
17-
php composer.phar require php-vcr/vcr-bundle
17+
composer require php-vcr/vcr-bundle
1818
```
1919

20-
And declare the bundle in your `app/AppKernel.php` file:
20+
And declare the bundle in your `config/bundles.php` file:
2121

2222
```php
23-
public function registerBundles()
24-
{
25-
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
26-
$bundles[] = new VCR\VCRBundle\VCRVCRBundle();
27-
}
28-
}
23+
return [
24+
// ...
25+
VCR\VCRBundle\VCRVCRBundle::class => ['test' => true],
26+
];
27+
2928
```
3029

3130
## Configuration reference

0 commit comments

Comments
 (0)