| Conditions | 4 |
| Paths | 3 |
| Total Lines | 18 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | private function parseRecursive($unparsedValue) |
||
| 36 | { |
||
| 37 | $unparsedValue = $this->variableParser->getVariable($unparsedValue); |
||
| 38 | |||
| 39 | if ($unparsedValue instanceof DefaultVariable) { |
||
| 40 | $parsedValue = $unparsedValue->parsed(); |
||
| 41 | |||
| 42 | if (is_array($parsedValue)) { |
||
| 43 | foreach ($parsedValue as &$property) { |
||
| 44 | $property = $this->parseRecursive($property); |
||
| 45 | } |
||
| 46 | } |
||
| 47 | } else { |
||
| 48 | $parsedValue = $unparsedValue->parsed(); |
||
| 49 | } |
||
| 50 | |||
| 51 | return $parsedValue; |
||
| 52 | } |
||
| 53 | } |
||
| 54 |