Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
11 | trait OldAccessingPatternsTrait |
||
12 | { |
||
13 | /** |
||
14 | * @param bool $data |
||
15 | * @return \ByTIC\DataObjects\BaseDto|PropertyOverloadingTrait |
||
16 | * @deprecated use fill($data) |
||
17 | */ |
||
18 | public function writeData($data = false) |
||
19 | { |
||
20 | return $this->fill($data); |
||
|
|||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @deprecated use |
||
25 | * @param $key |
||
26 | * @param $value |
||
27 | * @return mixed |
||
28 | */ |
||
29 | protected function setDataValue($key, $value) |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * Get an attribute from the $attributes array. |
||
36 | * |
||
37 | * @param string $key |
||
38 | * @return mixed |
||
39 | */ |
||
40 | protected function getAttributeFromArray(string $key) |
||
45 |