Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
18 | public function process(ContainerBuilder $container): void |
||
19 | { |
||
20 | $definition = new Definition(CompositeRenderer::class); |
||
21 | |||
22 | foreach ($container->findTaggedServiceIds('setono_tag_bag.renderer') as $id => $attributes) { |
||
23 | $definition->addArgument(new Reference($id)); |
||
24 | } |
||
25 | |||
26 | $container->setDefinition('setono_tag_bag.renderer.composite', $definition); |
||
27 | } |
||
29 |