| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function process(ContainerBuilder $container): void |
||
| 24 | { |
||
| 25 | $container->register(Application::class, Application::class); |
||
| 26 | $definition = $container->getDefinition(Application::class); |
||
| 27 | $definition->setPublic(true); |
||
| 28 | $taggedServices = $container->findTaggedServiceIds(Container::COMMAND_TAG); |
||
| 29 | foreach (array_keys($taggedServices) as $id) { |
||
| 30 | $definition->addMethodCall('add', [new Reference($id)]); |
||
| 31 | } |
||
| 34 |