Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
59 | public function getHtml(string $indent) |
||
60 | { |
||
61 | $html = $indent . '<div'. $this->getInlineStyles() . '>'. PHP_EOL; |
||
62 | |||
63 | // render child elements collection |
||
64 | foreach ($this->elements() as $element){ |
||
65 | $html .= $element->getHtml($indent . ' '). PHP_EOL ; |
||
66 | } |
||
67 | |||
68 | $html .= $indent . '</div>'.PHP_EOL; |
||
69 | return $html; |
||
70 | } |
||
72 | } |