Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | trait EventManagerTrait |
||
15 | { |
||
16 | /** |
||
17 | * @var \EBloodBank\EventManager |
||
18 | * @since 1.6 |
||
19 | */ |
||
20 | protected $eventManager; |
||
21 | |||
22 | /** |
||
23 | * @return \EBloodBank\EventManager |
||
24 | * @since 1.6 |
||
25 | */ |
||
26 | public function getEventManager() |
||
27 | { |
||
28 | return $this->eventManager; |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return void |
||
33 | * @since 1.6 |
||
34 | */ |
||
35 | public function setEventManager(EventManager $eventManager) |
||
38 | } |
||
39 | } |
||
40 |