| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | 3 | public function process(ContainerBuilder $container): void |
|
| 23 | { |
||
| 24 | 3 | $tagged_services = $container->findTaggedServiceIds(self::TAG); |
|
| 25 | |||
| 26 | 3 | foreach ($tagged_services as $id => $tags) { |
|
| 27 | 1 | $definition = $container->findDefinition($id); |
|
| 28 | 1 | $definition->addMethodCall('setLogger', [new Reference('logger')]); |
|
| 29 | } |
||
| 32 |