| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| 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 | /** @psalm-var array<class-string, array<string, string>> $tagged_services */ |
||
| 25 | 3 | $tagged_services = $container->findTaggedServiceIds(self::TAG); |
|
| 26 | |||
| 27 | 3 | foreach ($tagged_services as $id => $tags) { |
|
| 28 | 1 | $definition = $container->findDefinition($id); |
|
| 29 | 1 | $definition->addMethodCall('setLogger', [new Reference('logger')]); |
|
| 30 | } |
||
| 33 |