1 | <?php |
||
22 | trait EventDispatcherTrait { |
||
23 | |||
24 | /** |
||
25 | * Event dispatcher. |
||
26 | * |
||
27 | * @var EventDispatcherInterface |
||
28 | */ |
||
29 | private $eventDispatcher; |
||
30 | |||
31 | /** |
||
32 | * Get the event dispatcher. |
||
33 | * |
||
34 | * @return EventDispatcherInterface Returns the event dispatcher. |
||
35 | */ |
||
36 | public function getEventDispatcher() { |
||
39 | |||
40 | /** |
||
41 | * Set the event dispatcher. |
||
42 | * |
||
43 | * @param EventDispatcherInterface $eventDispatcher The event dispatcher. |
||
44 | */ |
||
45 | protected function setEventDispatcher(EventDispatcherInterface $eventDispatcher) { |
||
49 | |||
50 | } |
||
51 |