| Conditions | 3 |
| Paths | 3 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | public function process(ContainerBuilder $container): void |
||
| 13 | { |
||
| 14 | foreach ($container->findTaggedServiceIds('console.command') as $id => $attributes) { |
||
| 15 | $command = $container->findDefinition($id); |
||
| 16 | if (is_a($command->getClass(), BaseRabbitMqCommand::class, true)) { |
||
| 17 | $command->addMethodCall('setContainer', [new Reference('service_container')]); |
||
| 18 | } |
||
| 22 |