1 | <?php |
||
7 | trait MagicPropertyDisabledTrait |
||
8 | { |
||
9 | /** |
||
10 | * Access an internal array element as a property |
||
11 | * |
||
12 | * @param string $name The name of class the property. |
||
13 | * |
||
14 | * @return void |
||
15 | * |
||
16 | * @throws BadMethodCallException Always thrown |
||
17 | */ |
||
18 | public function __get(string $name) |
||
22 | |||
23 | /** |
||
24 | * Set an internal array element as a property |
||
25 | * |
||
26 | * @param string $name The name of class the property. |
||
27 | * @param mixed $value The class property value. |
||
28 | * |
||
29 | * @return void |
||
30 | * |
||
31 | * @throws BadMethodCallException Always thrown |
||
32 | */ |
||
33 | public function __set(string $name, $value) |
||
37 | } |
||
38 |