loadXmlFile() public method

Load XML from a file.
public loadXmlFile ( string $filepath, integer $options ) : Document
$filepath string The path to the XML file
$options integer Additional parameters
return Document
Esempio n. 1
0
 /**
  * @expectedException InvalidArgumentException
  */
 public function testLoadXmlFileWithInvalidArgument()
 {
     $document = new Document();
     $document->loadXmlFile(array('foo'));
 }