Skip to content

Commit

Permalink
corrected base Extension namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
lsmith77 committed Mar 27, 2011
1 parent 8abba71 commit e4637a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/bundles/extension.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ who's class name should be constructed by replacing the ``Bundle`` postfix of th
Bundle class with ``Extension`` inside a ``DependencyInjection`` subnamespace.

// HelloBundle/DependencyInjection/HelloExtension.php
use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\ContainerBuilder;

class HelloExtension extends Extension
Expand Down

0 comments on commit e4637a4

Please sign in to comment.