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