| Total Complexity | 4 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class EventDispatcher implements EventDispatcherInterface |
||
| 12 | { |
||
| 13 | private ListenerProviderInterface $listenerProvider; |
||
| 14 | |||
| 15 | 5 | public function __construct(ListenerProviderInterface $listenerProvider) |
|
| 18 | 5 | } |
|
| 19 | |||
| 20 | /** |
||
| 21 | * @param StoppableEventInterface $event |
||
| 22 | * @return object |
||
| 23 | */ |
||
| 24 | 3 | public function dispatch(object $event): object |
|
| 37 |