1 | <?php |
||
2 | |||
3 | namespace Lexik\Bundle\DataLayerBundle; |
||
4 | |||
5 | use Lexik\Bundle\DataLayerBundle\DependencyInjection\CompilerPass\CollectorCompilerPass; |
||
6 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
||
7 | use Symfony\Component\HttpKernel\Bundle\Bundle; |
||
8 | |||
9 | /** |
||
10 | * LexikDataLayerBundle |
||
11 | */ |
||
12 | class LexikDataLayerBundle extends Bundle |
||
13 | { |
||
14 | /** |
||
15 | * {@inheritdoc} |
||
16 | */ |
||
17 | 1 | public function build(ContainerBuilder $container) |
|
18 | { |
||
19 | 1 | $container->addCompilerPass(new CollectorCompilerPass()); |
|
20 | 1 | } |
|
21 | } |
||
22 |