| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function process(ContainerBuilder $container): void |
||
| 24 | { |
||
| 25 | $definition = $container->getDefinition(HistoryFactoryRegistry::class); |
||
| 26 | $taggedServices = $container->findTaggedServiceIds(Container::HISTORY_FACTORY_TAG); |
||
| 27 | $services = []; |
||
| 28 | foreach (array_keys($taggedServices) as $id) { |
||
| 29 | $services[] = new Reference($id); |
||
| 30 | } |
||
| 31 | $definition->setArgument(0, $services); |
||
| 32 | } |
||
| 34 |