1 | <?php |
||
16 | trait InternalPropertiesEmulationTrait |
||
17 | { |
||
18 | /** |
||
19 | * Magic method that should be defined to provide an info about internal properties |
||
20 | * |
||
21 | * @return array |
||
22 | */ |
||
23 | abstract public function __debugInfo(); |
||
24 | |||
25 | /** |
||
26 | * Magic implementation of properties |
||
27 | * |
||
28 | * @param string $propertyName Name of the property to return |
||
29 | * |
||
30 | * @return null|mixed |
||
31 | */ |
||
32 | public function __get($propertyName) |
||
44 | } |
||
45 |