public save ( $filename ) : static | ||
$filename | ||
return | static |
public function save($filename)
{
$this->files->put($filename, $this->output());
return $this;
}
/** * Save the PDF to a file * * @param $filename * @return static * @static */ public static function save($filename) { return \Barryvdh\DomPDF\PDF::save($filename); }