Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
23 | public function process(ContainerBuilder $container): void |
||
24 | { |
||
25 | $definition = $container->getDefinition(ResultsParsersRegistry::class); |
||
26 | $taggedServices = $container->findTaggedServiceIds(Container::RESULTS_PARSER_TAG); |
||
27 | $services = []; |
||
28 | foreach (array_keys($taggedServices) as $id) { |
||
29 | $services[] = new Reference($id); |
||
30 | } |
||
31 | $definition->setArgument(0, $services); |
||
32 | } |
||
34 |