Total Complexity | 2 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | class EventsFacade implements EventsFacadeInterface |
||
20 | { |
||
21 | private readonly EventEmitterInterface $eventEmitter; |
||
22 | |||
23 | 1 | public function __construct( |
|
24 | private readonly EventEmitterFactoryInterface $eventEmitterFactory |
||
25 | ) { |
||
26 | 1 | $this->eventEmitter = $this->eventEmitterFactory->create(); |
|
|
|||
27 | } |
||
28 | |||
29 | /** |
||
30 | * {@inheritDoc} |
||
31 | */ |
||
32 | 1 | public function emit(EventInterface $event): void |
|
35 | } |
||
36 | } |
||
37 |