| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | trait EventDispatcherTrait |
||
| 14 | { |
||
| 15 | |||
| 16 | /** @var EventDispatcherInterface $dispatcher */ |
||
| 17 | protected $dispatcher; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @return EventDispatcherInterface |
||
| 21 | */ |
||
| 22 | public function getDispatcher(): EventDispatcherInterface |
||
| 23 | { |
||
| 24 | return $this->dispatcher; |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param EventDispatcherInterface $dispatcher |
||
| 29 | */ |
||
| 30 | public function setDispatcher(EventDispatcherInterface $dispatcher): void |
||
| 33 | } |
||
| 34 | } |
||
| 35 |