public static function fromFile($path, $encoding = null, $html = false) { if ($html) { return HtmlElement::fromFile($path, $encoding); } return Element::fromFile($path, $encoding); }