Essence\Dom\Document\Native::_loadDocument PHP Метод

_loadDocument() защищенный Метод

Builds a DOMDocument from the HTML source.
protected _loadDocument ( )
    protected function _loadDocument()
    {
        $this->_Document = new DOMDocument();
        $reporting = error_reporting(0);
        $loaded = $this->_Document->loadHTML($this->_html);
        error_reporting($reporting);
        if (!$loaded) {
            throw new Exception('Unable to load HTML document.');
        }
    }