Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
19 | final class EventBus implements EventBusInterface |
||
20 | { |
||
21 | /** |
||
22 | * Wrapped event dispatcher. |
||
23 | * |
||
24 | * @var EventDispatcher |
||
25 | */ |
||
26 | private $wrappedDispatcher; |
||
27 | |||
28 | /** |
||
29 | * EventBus constructor. |
||
30 | * |
||
31 | * @param EventDispatcher $wrappedDispatcher |
||
32 | */ |
||
33 | public function __construct(EventDispatcher $wrappedDispatcher) |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | public function dispatch(Event $event): void |
||
46 |