Update readme
This commit is contained in:
parent
3548d71db7
commit
c09d1c36ff
|
@ -43,7 +43,7 @@ as a submodule:
|
||||||
|
|
||||||
## Add the namespace in the autoloader
|
## Add the namespace in the autoloader
|
||||||
|
|
||||||
If the `Knp` namespace is not already defined in your autoloader, you must add it:
|
You must register both Gaufrette and the KnpGaufretteBundle in your autoloader:
|
||||||
|
|
||||||
``` php
|
``` php
|
||||||
<?php
|
<?php
|
||||||
|
@ -53,9 +53,7 @@ If the `Knp` namespace is not already defined in your autoloader, you must add i
|
||||||
$loader->registerNamespaces(array(
|
$loader->registerNamespaces(array(
|
||||||
'Knp\Bundle' => __DIR__.'/../vendor/bundles',
|
'Knp\Bundle' => __DIR__.'/../vendor/bundles',
|
||||||
'Gaufrette' => __DIR__.'/../vendor/gaufrette/src',
|
'Gaufrette' => __DIR__.'/../vendor/gaufrette/src',
|
||||||
|
|
||||||
// ...
|
// ...
|
||||||
|
|
||||||
));
|
));
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user