src/Factory.php
public function fromFile($filename)
    {
        $xml = $this->createDomDocument();
        $xml->load($filename);

        return new Document($xml);
    }
public function fromFile($filename)
    {
        $xml = $this->createDomDocument();
        $xml->load($filename);

        return new Document($xml);
    }
public function fromFile ( $ filename ) { $ xml = $ this -> createDomDocument ( ) ; $ xml -> load ( $ filename ) ; return new Document ( $ xml ) ; }
Create VAST document from file

@param string $filename

@return Document
Create VAST document from file