1 | <?php |
||
2 | |||
3 | /** |
||
4 | * This file is part of the Meup TagCommander Bundle. |
||
5 | * |
||
6 | * (c) 1001pharmacies <http://github.com/1001pharmacies/tagcommander-bundle> |
||
7 | * |
||
8 | * For the full copyright and license information, please view the LICENSE |
||
9 | * file that was distributed with this source code. |
||
10 | */ |
||
11 | |||
12 | namespace Meup\Bundle\TagcommanderBundle; |
||
13 | |||
14 | use Symfony\Component\HttpKernel\Bundle\Bundle; |
||
15 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
||
16 | use Meup\Bundle\TagcommanderBundle\DependencyInjection\CompilerPass\CollectorSubscriber; |
||
17 | |||
18 | /** |
||
19 | * |
||
20 | */ |
||
21 | class MeupTagcommanderBundle extends Bundle |
||
22 | { |
||
23 | /** |
||
24 | * @param ContainerBuilder $container |
||
25 | */ |
||
26 | 1 | public function build(ContainerBuilder $container) |
|
27 | { |
||
28 | 1 | parent::build($container); |
|
29 | |||
30 | 1 | $container->addCompilerPass(new CollectorSubscriber()); |
|
31 | 1 | } |
|
32 | } |
||
33 |