Update documentation. Change composer registerNamespaces method to addClassMap.

This commit is contained in:
Falk Doering 2013-09-13 11:56:38 +02:00
parent df1d1855a5
commit 336e203655

View File

@ -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',
// ... // ...