Barryvdh\DomPDF\PDF::save PHP Метод

save() публичный Метод

Save the PDF to a file
public save ( $filename ) : static
$filename
Результат static
    public function save($filename)
    {
        $this->files->put($filename, $this->output());
        return $this;
    }

Usage Example

Пример #1
0
 /**
  * Save the PDF to a file
  *
  * @param $filename
  * @return static 
  * @static 
  */
 public static function save($filename)
 {
     return \Barryvdh\DomPDF\PDF::save($filename);
 }