Total Complexity | 4 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
5 | class PhpArray extends Message |
||
6 | { |
||
7 | /** |
||
8 | * @return array |
||
9 | */ |
||
10 | public function newData() |
||
11 | { |
||
12 | return []; |
||
13 | } |
||
14 | |||
15 | /** |
||
16 | * Get the instance as an array. |
||
17 | * |
||
18 | * @return array |
||
19 | */ |
||
20 | public function toArray() |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * @param array $data |
||
27 | * |
||
28 | * @return self |
||
29 | */ |
||
30 | public function fromArray($data) |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @return string |
||
37 | */ |
||
38 | public function __toString() |
||
43 |