Conditions | 3 |
Paths | 3 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
34 | public function losLogMe() |
||
35 | { |
||
36 | $ret = []; |
||
37 | $ret[get_class($this)] = []; |
||
38 | foreach (get_object_vars($this) as $name => $content) { |
||
39 | if (! is_object($content)) { |
||
40 | $ret[$name] = ['type' => gettype($content), 'content' => $content]; |
||
41 | } else { |
||
42 | $ret[$name] = ['type' => gettype($content), 'class' => get_class($content)]; |
||
43 | } |
||
44 | } |
||
45 | |||
46 | return $ret; |
||
47 | } |
||
48 | } |
||
49 |