protected function appendWrapper(\DOMElement $element, \DOMDocument $dom)
    {
        $wrapper = $dom->createElement('div');
        $wrapper->setAttribute('class', 'cms-slide-wrapper');

        $element->appendChild($wrapper);

        return $wrapper;
    }
protected function appendWrapper(\DOMElement $element, \DOMDocument $dom)
    {
        $wrapper = $dom->createElement('div');
        $wrapper->setAttribute('class', 'cms-slide-wrapper');

        $element->appendChild($wrapper);

        return $wrapper;
    }
protected function appendWrapper ( \ DOMElement $ element , \ DOMDocument $ dom ) { $ wrapper = $ dom -> createElement ( 'div' ) ; $ wrapper -> setAttribute ( 'class' , 'cms-slide-wrapper' ) ; $ element -> appendChild ( $ wrapper ) ; return $ wrapper ; }
Appends a wrapper to the element.

@param \DOMElement  $element
@param \DOMDocument $dom

@return \DOMElement
Appends a wrapper to the element .