Total Complexity | 3 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | final class SymfonyEvent extends Event implements DomainEvent |
||
11 | { |
||
12 | private DomainEvent $event; |
||
13 | |||
14 | public function __construct(DomainEvent $event) |
||
17 | 3 | } |
|
18 | 3 | ||
19 | public function getName(): string |
||
20 | 1 | { |
|
21 | return $this->event->getName(); |
||
22 | 1 | } |
|
23 | |||
24 | public function getEvent(): DomainEvent |
||
27 | 1 | } |
|
28 | } |
||
29 |