| Conditions | 4 |
| Paths | 4 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function start(): void |
||
| 32 | { |
||
| 33 | $listeners = $this->eventDispatcher->getListeners(EventListenerInterface::TYPE_ASYNC); |
||
| 34 | |||
| 35 | while (true) { |
||
| 36 | foreach ($listeners as $eventName => $listenersPerEvent) { |
||
| 37 | foreach ($listenersPerEvent as $listenerIdentifier => $listener) { |
||
| 38 | $this->eventQueueConsumer->dequeueEventAsProcess($eventName, $listenerIdentifier); |
||
| 39 | } |
||
| 44 |