1 | <?php |
||
2 | |||
3 | namespace Happyr\SimpleBusBundle; |
||
4 | |||
5 | use Happyr\SimpleBusBundle\DependencyInjection\CompilerPass\CompilerPasses; |
||
6 | use Happyr\SimpleBusBundle\DependencyInjection\HappyrSimpleBusExtension; |
||
7 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
||
8 | use Symfony\Component\HttpKernel\Bundle\Bundle; |
||
9 | |||
10 | class HappyrSimpleBusBundle extends Bundle |
||
11 | { |
||
12 | 1 | public function build(ContainerBuilder $container) |
|
13 | { |
||
14 | 1 | $container->addCompilerPass(new CompilerPasses()); |
|
15 | 1 | } |
|
16 | |||
17 | 1 | public function getContainerExtension() |
|
18 | { |
||
19 | 1 | return new HappyrSimpleBusExtension(); |
|
20 | } |
||
21 | } |
||
22 |