KnpLabs/KnpMenuBundle — pull request #190 by guillaumemarcade (2013-06-24 02:02:13+00:00)
Title: Declaring namespaces in the Symfony >=2.1 way

I think the installation documentation should be updated.

```php
registerNamespaces(array(
// ...
'Knp\Bundle' => __DIR__.'/../vendor/bundles',
'Knp\Menu' => __DIR__.'/../vendor/KnpMenu/src',
// ...
));
```

This seems to be the Symfony 2.0 way of declaring namespaces. Now we should have
```php
add('Knp\Bundle', __DIR__.'/../vendor/bundles');
$loader->add('Knp\Menu', __DIR__.'/../vendor/KnpMenu/src');
// … other declarations
}
```

My 2 cents

Guillaume