Total Complexity | 2 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | #[\AllowDynamicProperties] |
||
26 | class GenericEntity extends Data implements ToArrayInterface |
||
27 | { |
||
28 | use MagicArrayAccessTrait; |
||
29 | use ToArrayTrait; |
||
30 | |||
31 | /** |
||
32 | * |
||
33 | * ArrayAccess: get a field value. |
||
34 | * |
||
35 | * @param string $field The requested field. |
||
36 | * |
||
37 | * @return mixed |
||
38 | * |
||
39 | */ |
||
40 | public function offsetGet($field) |
||
57 |