Sanpi\Behatch\Xml\Dom::__construct PHP Метод

__construct() публичный Метод

public __construct ( $content )
    public function __construct($content)
    {
        $this->dom = new \DomDocument();
        $this->dom->strictErrorChecking = false;
        $this->dom->validateOnParse = false;
        $this->dom->preserveWhiteSpace = true;
        $this->dom->loadXML($content, LIBXML_PARSEHUGE);
        $this->throwError();
    }