Conditions | 3 |
Paths | 3 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
53 | public function dump() |
||
54 | { |
||
55 | if (!$this->valuePath) { |
||
56 | return [ |
||
57 | 'Path' => $this->attributePath->dump(), |
||
58 | ]; |
||
59 | } elseif (!$this->attributePath) { |
||
60 | return [ |
||
61 | 'Path' => $this->valuePath->dump(), |
||
62 | ]; |
||
63 | } else { |
||
64 | return array_merge($this->valuePath->dump(), $this->attributePath->dump()); |
||
65 | } |
||
66 | } |
||
67 | } |
||
68 |