Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | trait EventManagerDispatcherTrait |
||
24 | { |
||
25 | /** |
||
26 | * @var EventManagerInterface |
||
27 | */ |
||
28 | protected $eventManager; |
||
29 | |||
30 | /** |
||
31 | * @return EventManagerInterface |
||
32 | */ |
||
33 | public function getEventManager(): EventManagerInterface |
||
34 | { |
||
35 | return $this->eventManager; |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @param EventManagerInterface $em |
||
40 | * @return EventManagerDispatcherInterface |
||
41 | */ |
||
42 | public function setEventManager(EventManagerInterface $em): EventManagerDispatcherInterface |
||
47 | } |
||
48 | |||
49 | /** |
||
50 | * @return bool |
||
51 | */ |
||
52 | public function hasEventManager(): bool |
||
55 | } |
||
56 | } |