PHPHtmlParser\StaticDom::load PHP Method

load() public static method

Creates a new dom object and calls load() on the new object.
public static load ( string $str )
$str string
    public static function load($str)
    {
        $dom = new Dom();
        self::$dom = $dom;
        return $dom->load($str);
    }