Skip to content

Commit 2e0f156

Browse files
AD7sixweaverryan
authored andcommitted
Use a more obvious unconventional class name. ExtensionHello looks like a typo.
1 parent a8f555b commit 2e0f156

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbook/bundles/extension.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ automatically by Symfony2. If not, override the Bundle
504504
:method:`Symfony\\Component\\HttpKernel\\Bundle\\Bundle::build` method in
505505
your bundle::
506506

507-
use Acme\HelloBundle\DependencyInjection\ExtensionHello;
507+
use Acme\HelloBundle\DependencyInjection\UnconventionalExtensionClass;
508508

509509
class AcmeHelloBundle extends Bundle
510510
{
@@ -513,7 +513,7 @@ your bundle::
513513
parent::build($container);
514514

515515
// register extensions that do not follow the conventions manually
516-
$container->registerExtension(new ExtensionHello());
516+
$container->registerExtension(new UnconventionalExtensionClass());
517517
}
518518
}
519519

0 commit comments

Comments
 (0)