unload() public static method

Sets the $dom variable to null.
public static unload ( )
Example #1
0
 public function testMountWithDom()
 {
     $dom = new PHPHtmlParser\Dom();
     StaticDom::unload();
     $status = StaticDom::mount('newDom', $dom);
     $this->assertTrue($status);
 }