Total Complexity | 2 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
11 | class TransitionEventDispatcher implements EventDispatcher |
||
12 | { |
||
13 | private EventDispatcher $eventDispatcher; |
||
14 | private TransitionEventCollection $transitionEventCollection; |
||
15 | |||
16 | 19 | public function __construct(EventDispatcher $eventDispatcher, TransitionEventCollection $transitionEventCollection) |
|
17 | { |
||
18 | 19 | $this->eventDispatcher = $eventDispatcher; |
|
19 | 19 | $this->transitionEventCollection = $transitionEventCollection; |
|
20 | 19 | } |
|
21 | |||
22 | 7 | public function dispatch(Event $event): void |
|
26 | 7 | } |
|
27 | } |
||
28 |