Skip to content

Commit 00d9bcc

Browse files
committed
Update README.md
1 parent 69b3697 commit 00d9bcc

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,24 @@ Register the bundle in `app/AppKernel.php`:
2525
```php
2626
public function registerBundles()
2727
{
28-
$bundles = array(
2928
...
30-
new Tmdb\SymfonyBundle\TmdbSymfonyBundle(),
29+
new Tmdb\SymfonyBundle\TmdbSymfonyBundle()
3130
...
3231
}
3332
```
3433

34+
If you haven't had the DoctrineCacheBundle yet, also register it:
35+
36+
```php
37+
public function registerBundles()
38+
{
39+
...
40+
new \Doctrine\Bundle\DoctrineCacheBundle\DoctrineCacheBundle()
41+
...
42+
}
43+
```
44+
45+
3546
Add to your `app/config/config.yml` the following:
3647

3748
```yaml

0 commit comments

Comments
 (0)