| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function process(ContainerBuilder $container): void |
||
| 28 | { |
||
| 29 | $definition = $container->getDefinition('surfnet_stepup_middleware_command_handling.command_bus'); |
||
| 30 | $commandHandlerDefinitions = $container->findTaggedServiceIds('command_bus.command_handler'); |
||
| 31 | |||
| 32 | foreach (array_keys($commandHandlerDefinitions) as $id) { |
||
| 33 | $definition->addMethodCall('subscribe', [new Reference($id)]); |
||
| 34 | } |
||
| 37 |