Beispiel #1
0
 public static function new_from_file(h\string $template_filename)
 {
     $document = new \domdocument('1.1', 'UTF-8');
     $document->loadHtmlFile($template_filename);
     return new static($document);
 }