Conditions | 2 |
Paths | 2 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
47 | public function process(ContainerBuilder $container): void |
||
48 | { |
||
49 | foreach ($container->findTaggedServiceIds($this->tagName) as $id => $tag) { |
||
50 | $container->getDefinition($id)->addMethodCall('setLogger', [new Reference($this->service)]); |
||
51 | $this->log($container, 'Injecting logger for service: %s', $id); |
||
52 | } |
||
53 | } |
||
54 | } |
||
55 |