| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 62.5% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class EventDispatcher extends EventManager implements EventDispatcherInterface |
||
| 8 | { |
||
| 9 | 1 | public function addListener($event, $listener) |
|
| 10 | { |
||
| 11 | 1 | $this->addEventListener($event, $listener); |
|
| 12 | |||
| 13 | 1 | return $this; |
|
| 14 | } |
||
| 15 | |||
| 16 | public function addSubscriber($subscriber) |
||
| 17 | { |
||
| 18 | $this->addEventSubscriber($subscriber); |
||
| 19 | |||
| 20 | return $this; |
||
| 21 | } |
||
| 22 | |||
| 23 | 2 | public function dispatch(string $event, $context) |
|
| 26 | 2 | } |
|
| 27 | } |
||
| 28 |