| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | 5 | public function generateElement() |
|
| 18 | { |
||
| 19 | 5 | $elements = $this->getElement()->getElements(); |
|
| 20 | 5 | $returnElements = []; |
|
| 21 | 5 | $return = ''; |
|
| 22 | 5 | foreach ($elements as $element) { |
|
| 23 | 3 | $returnElements[] = $this->renderChildElement($element); |
|
| 24 | } |
||
| 25 | 5 | $return .= implode($this->getSeparator(), $returnElements); |
|
| 26 | |||
| 27 | 5 | return $return; |
|
| 28 | } |
||
| 62 |