| Conditions | 4 |
| Paths | 3 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 34 | public function resolve($data) |
||
| 35 | { |
||
| 36 | $resolved = $this->resolver->resolve($data); |
||
| 37 | foreach ($this->children as $key => $children) { |
||
| 38 | if ($children instanceof ConfigTreeResolver) { |
||
| 39 | foreach ($resolved[$key] as $subKey => $subData) { |
||
| 40 | $resolved[$key][$subKey] = $children->resolve($subData); |
||
| 41 | } |
||
| 42 | } else { |
||
| 43 | $resolved[$key] = $children->resolve($resolved[$key]); |
||
| 44 | } |
||
| 45 | } |
||
| 46 | return $resolved; |
||
| 47 | } |
||
| 49 |