private function postProcess(\DOMXPath $xPath)
    {
        if ($this->shouldMapCssToHtml) {
            $this->mapAllInlineStylesToHtmlAttributes($xPath);
        }
        if ($this->shouldRemoveInvisibleNodes) {
            $this->removeInvisibleNodes($xPath);
        }
    }
private function postProcess(\DOMXPath $xPath)
    {
        if ($this->shouldMapCssToHtml) {
            $this->mapAllInlineStylesToHtmlAttributes($xPath);
        }
        if ($this->shouldRemoveInvisibleNodes) {
            $this->removeInvisibleNodes($xPath);
        }
    }
private function postProcess ( \ DOMXPath $ xPath ) { if ( $ this -> shouldMapCssToHtml ) { $ this -> mapAllInlineStylesToHtmlAttributes ( $ xPath ) ; } if ( $ this -> shouldRemoveInvisibleNodes ) { $ this -> removeInvisibleNodes ( $ xPath ) ; } }
Applies some optional post-processing to the HTML in the DOM document.

@param \DOMXPath $xPath

@return void
Applies some optional post - processing to the HTML in the DOM document .