1 | <?php declare(strict_types = 1); |
||
14 | class EventDispatcher extends BaseEventDispatcher |
||
15 | { |
||
16 | /** |
||
17 | * @var Container |
||
18 | */ |
||
19 | private $container; |
||
20 | |||
21 | /** |
||
22 | * CommandCollector constructor. |
||
23 | * |
||
24 | * @param Container $container |
||
25 | */ |
||
26 | 1 | public function __construct(Container $container) |
|
30 | |||
31 | /** |
||
32 | * @inheritDoc |
||
33 | */ |
||
34 | protected function callListener($listener, EventContract $event) |
||
38 | |||
39 | /** |
||
40 | * @inheritDoc |
||
41 | */ |
||
42 | protected function canBeCalled($listener): bool |
||
46 | } |