8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8f555b commit 2e0f156Copy full SHA for 2e0f156
cookbook/bundles/extension.rst
@@ -504,7 +504,7 @@ automatically by Symfony2. If not, override the Bundle
504
:method:`Symfony\\Component\\HttpKernel\\Bundle\\Bundle::build` method in
505
your bundle::
506
507
- use Acme\HelloBundle\DependencyInjection\ExtensionHello;
+ use Acme\HelloBundle\DependencyInjection\UnconventionalExtensionClass;
508
509
class AcmeHelloBundle extends Bundle
510
{
@@ -513,7 +513,7 @@ your bundle::
513
parent::build($container);
514
515
// register extensions that do not follow the conventions manually
516
- $container->registerExtension(new ExtensionHello());
+ $container->registerExtension(new UnconventionalExtensionClass());
517
}
518
519
0 commit comments