public function applyStylesheet(\DOMDocument $stylesheet): self
    {
        $this->stylesheets[] = $stylesheet;
        $this->xsltProcessor->importStylesheet($stylesheet);
        return $this;
    }
public function applyStylesheet(\DOMDocument $stylesheet): self
    {
        $this->stylesheets[] = $stylesheet;
        $this->xsltProcessor->importStylesheet($stylesheet);
        return $this;
    }
public function applyStylesheet ( \ DOMDocument $ stylesheet ) : self { $ this -> stylesheets [ ] = $ stylesheet ; $ this -> xsltProcessor -> importStylesheet ( $ stylesheet ) ; return $ this ; }
add a stylesheet to use

@param   \DOMDocument  $stylesheet
@return  \stubbles\xml\xsl\XslProcessor
add a stylesheet to use