Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | public function build(ContainerBuilder $container) |
||
26 | { |
||
27 | if (method_exists($container, 'registerForAutoconfiguration')) { |
||
28 | $container->registerForAutoconfiguration(ProviderInterface::class)->addTag(EventProviderPass::TAG); |
||
29 | } |
||
30 | |||
31 | parent::build($container); |
||
32 | |||
33 | $container->addCompilerPass(new EventProviderPass); |
||
34 | } |
||
35 | } |
||
36 |