public function parseFromString($string){
		$dom = $this->html5->loadHTML($string);
		if( is_a($dom, 'DOMDocument') ){
			return $dom;
		}else{
			return false;
		}
	}
public function parseFromString($string){
		$dom = $this->html5->loadHTML($string);
		if( is_a($dom, 'DOMDocument') ){
			return $dom;
		}else{
			return false;
		}
	}
public function parseFromString ( $ string ) { $ dom = $ this -> html5 -> loadHTML ( $ string ) ; if ( is_a ( $ dom , 'DOMDocument' ) ) { return $ dom ; } else { return false ; } }
Parse HTML5 and convert to Dom document

@param $string

@return false|\DomDocument
Parse HTML5 and convert to Dom document