| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 44 | public function dispatchEvents(): array |
||
| 45 | { |
||
| 46 | $events = $this->events; |
||
| 47 | $this->clearEvents(); |
||
| 48 | $this->deferEvents = false; |
||
| 49 | $dispatchedEvents = []; |
||
| 50 | |||
| 51 | foreach ($events as $event) { |
||
| 52 | $dispatchedEvents[] = $this->dispatchEvent($event); |
||
| 53 | } |
||
| 54 | |||
| 55 | return $dispatchedEvents; |
||
| 56 | } |
||
| 68 |