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