Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
11 | public function process(ContainerBuilder $container) |
||
12 | { |
||
13 | if (!$container->hasDefinition('tactician_domain_events.command.debug')) { |
||
14 | return; |
||
15 | } |
||
16 | |||
17 | $command = $container->getDefinition('tactician_domain_events.command.debug'); |
||
18 | $subscribers = $container->findTaggedServiceIds('tactician.event_subscriber'); |
||
19 | $listeners = $container->findTaggedServiceIds('tactician.event_listener'); |
||
20 | |||
21 | $command->setArgument(1, $listeners); |
||
22 | $command->setArgument(2, $subscribers); |
||
23 | } |
||
24 | } |
||
25 |