protected function addCss($css, \DOMElement $el)
    {
        $el->setAttribute(
            'class',
            $el->getAttribute('class')
            ? $el->getAttribute('class') . ' ' . $css
            : $css
        );

        return $el;
    }
protected function addCss($css, \DOMElement $el)
    {
        $el->setAttribute(
            'class',
            $el->getAttribute('class')
            ? $el->getAttribute('class') . ' ' . $css
            : $css
        );

        return $el;
    }
protected function addCss ( $ css , \ DOMElement $ el ) { $ el -> setAttribute ( 'class' , $ el -> getAttribute ( 'class' ) ? $ el -> getAttribute ( 'class' ) . ' ' . $ css : $ css ) ; return $ el ; }
Add css to a DomElement

@param $css
@param  \DOMElement $el
@return \DOMElement
Add css to a DomElement