| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 19 | public function dispatch(object $event) |
||
| 20 | { |
||
| 21 | foreach ($this->listenerProvider->getListenersForEvent($event) as $listener) { |
||
| 22 | // if ($event instanceof StoppableEventInterface && $event->isPropagationStopped()) { |
||
| 23 | // break; |
||
| 24 | // } |
||
| 25 | |||
| 26 | $listener($event); |
||
| 27 | } |
||
| 28 | return $event; |
||
| 29 | } |
||
| 31 |