src/Renderer/HorizontalFormRenderer.php
private function surroundInDiv(DOMNode $element, $class)
    {
        $div = $this->createElement('div');
        $div->setAttribute('class', $class);
        $div->appendChild($element);
        return $div;
    }
private function surroundInDiv(DOMNode $element, $class)
    {
        $div = $this->createElement('div');
        $div->setAttribute('class', $class);
        $div->appendChild($element);
        return $div;
    }
private function surroundInDiv ( DOMNode $ element , $ class ) { $ div = $ this -> createElement ( 'div' ) ; $ div -> setAttribute ( 'class' , $ class ) ; $ div -> appendChild ( $ element ) ; return $ div ; }
Surround an element in a div with a given class

@param DOMNode $element
@param $class
@return DOMElement
Surround an element in a div with a given class