1 | <?php declare(strict_types=1); |
||
19 | trait PropertyTrait |
||
20 | 6 | { |
|
21 | private $propertyManager; |
||
22 | 6 | ||
23 | /** |
||
24 | * Conveniently delegate any method calls to the property manager if they |
||
25 | 3 | * don't exist in the parent class |
|
26 | */ |
||
27 | 3 | public function __call($methodName, $params) |
|
35 | 6 | ||
36 | /** |
||
37 | * |
||
38 | */ |
||
39 | public function __get($key) |
||
43 | |||
44 | public function __set($key, $value) |
||
48 | |||
49 | /** |
||
50 | * Get an instance of the property manager |
||
51 | * |
||
52 | * @return Manager |
||
53 | */ |
||
54 | private function getPropertyManager(): Manager |
||
61 | } |
||
62 |