Total Complexity | 5 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class PhpObject extends Message |
||
6 | { |
||
7 | /** |
||
8 | * @return \stdClass |
||
9 | */ |
||
10 | public function newData() |
||
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) |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * @return string |
||
43 | */ |
||
44 | public function __toString() |
||
49 |