Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
14 | 1 | public function process(ContainerBuilder $container) |
|
15 | { |
||
16 | 1 | $registryDefinition = $container->findDefinition(ChainProcessNotifier::class); |
|
17 | 1 | $taggedServices = $container->findTaggedServiceIds('darkilliant_process_notifier'); |
|
18 | |||
19 | 1 | foreach ($taggedServices as $id => $tags) { |
|
20 | 1 | $registryDefinition->addMethodCall('add', [ |
|
21 | 1 | new Reference($id), |
|
22 | ]); |
||
26 |