src/Factory.php
public function fromString($xmlString)
    {
        $xml = $this->createDomDocument();
        $xml->loadXml($xmlString);

        return new Document($xml);
    }
public function fromString($xmlString)
    {
        $xml = $this->createDomDocument();
        $xml->loadXml($xmlString);

        return new Document($xml);
    }
public function fromString ( $ xmlString ) { $ xml = $ this -> createDomDocument ( ) ; $ xml -> loadXml ( $ xmlString ) ; return new Document ( $ xml ) ; }
Create VAST document from given string with xml

@param string $xmlString

@return Document
Create VAST document from given string with xml