Update documentation. Change composer registerNamespaces method to addClassMap.
This commit is contained in:
parent
df1d1855a5
commit
336e203655
|
@ -61,7 +61,7 @@ You must register both Gaufrette and the KnpGaufretteBundle in your autoloader:
|
|||
|
||||
// app/autoload.php
|
||||
|
||||
$loader->registerNamespaces(array(
|
||||
$loader->addClassMap(array(
|
||||
'Knp\Bundle' => __DIR__.'/../vendor/bundles',
|
||||
'Gaufrette' => __DIR__.'/../vendor/gaufrette/src',
|
||||
// ...
|
||||
|
|
Loading…
Reference in New Issue
Block a user