1 | <?php |
||
19 | trait Container{ |
||
20 | |||
21 | /** |
||
22 | * Boa constructor. |
||
23 | * |
||
24 | * @param array $properties |
||
25 | */ |
||
26 | public function __construct(array $properties = []){ |
||
33 | |||
34 | /** |
||
35 | * David Getter |
||
36 | * |
||
37 | * @param string $property |
||
38 | * |
||
39 | * @return mixed |
||
40 | */ |
||
41 | public function __get(string $property){ |
||
49 | |||
50 | /** |
||
51 | * Jet-setter |
||
52 | * |
||
53 | * @param string $property |
||
54 | * @param mixed $value |
||
55 | * |
||
56 | * @return void |
||
57 | */ |
||
58 | public function __set(string $property, $value){ |
||
65 | |||
66 | } |
||
67 |