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