protected function createBlankDom()
    {
        $dom = new \DOMDocument();
        $dom->preserveWhiteSpace = false;
        $dom->formatOutput = true;

        return $dom;
    }
protected function createBlankDom()
    {
        $dom = new \DOMDocument();
        $dom->preserveWhiteSpace = false;
        $dom->formatOutput = true;

        return $dom;
    }
protected function createBlankDom ( ) { $ dom = new \ DOMDocument ( ) ; $ dom -> preserveWhiteSpace = false ; $ dom -> formatOutput = true ; return $ dom ; }
Returns a new blank DOM document.

@return \DOMDocument
Returns a new blank DOM document .