Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
22 | public function process(ContainerBuilder $container) |
||
23 | { |
||
24 | $eventManager = $container->getDefinition(EventManager::class); |
||
25 | $taggedServices = $container->findTaggedServiceIds('sfcod.socketio.event'); |
||
26 | |||
27 | foreach ($taggedServices as $id => $tags) { |
||
28 | $eventManager->addMethodCall('addEvent', [new Reference($id)]); |
||
29 | } |
||
30 | } |
||
31 | } |
||
32 |