Load HTML or XML.
/** * @expectedException InvalidArgumentException */ public function testLoadWithInvalidOptionsType() { $document = new Document(); $document->load('foo', false, 'html', 'bar'); }
/** * @expectedException InvalidArgumentException */ public function testLoadWithInvalidOptionsType() { $document = new Document(); $document->load('foo', false, 'html', 'bar'); }