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