| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | public function process(ContainerBuilder $container): void |
||
| 16 | { |
||
| 17 | $compositeEventHandler = new Definition(CompositeEventHandler::class); |
||
| 18 | |||
| 19 | foreach ($container->findTaggedServiceIds('setono_sylius_pagination.event_handler') as $id => $attributes) { |
||
| 20 | $compositeEventHandler->addArgument(new Reference($id)); |
||
| 21 | } |
||
| 22 | |||
| 23 | $container->setDefinition('setono_sylius_pagination.event_handler.composite', $compositeEventHandler); |
||
| 24 | } |
||
| 26 |