| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 2.0185 |
| Changes | 0 | ||
| 1 | <?php |
||
| 49 | 3 | private function buildFinal(YamlObject $yamlObject):YamlObject |
|
| 50 | { |
||
| 51 | 3 | $this->_yamlObject = $yamlObject; |
|
| 52 | 3 | $this->value->setIteratorMode(NodeList::IT_MODE_DELETE); |
|
| 53 | 3 | foreach ($this->value as $key => $child) { |
|
| 54 | $child->build($yamlObject); |
||
| 55 | } |
||
| 56 | 3 | return $yamlObject; |
|
| 57 | } |
||
| 58 | } |