HtmlObject\Traits\Tag::renderChildren PHP Method

renderChildren() protected method

Get all the children as a string.
protected renderChildren ( ) : string
return string
    protected function renderChildren()
    {
        $children = $this->children;
        foreach ($children as $key => $child) {
            if ($child instanceof Tag) {
                $children[$key] = $child->render();
            }
        }
        return implode($children);
    }