| Total Complexity | 4 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | final class DeferredDispatcher implements EventDispatcherInterface |
||
| 10 | { |
||
| 11 | private EventDispatcherInterface $dispatcher; |
||
| 12 | private array $events = []; |
||
| 13 | |||
| 14 | public function __construct(EventDispatcherInterface $dispatcher) |
||
| 15 | { |
||
| 16 | $this->dispatcher = $dispatcher; |
||
| 17 | } |
||
| 18 | |||
| 19 | public function dispatch(object $event) |
||
| 23 | } |
||
| 24 | |||
| 25 | public function flush(): void |
||
| 29 | } |
||
| 30 | } |
||
| 32 |