/** * Load a HTML file * * @param string $file * @return static */ public function loadFile($file) { $this->dompdf->load_html_file($file); $this->rendered = false; return $this; }