CakePdf\Pdf\CakePdf::write PHP Метод

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

Writes output to file
public write ( string $destination, boolean $create = true, string $html = null ) : boolean
$destination string Absolute file path to write to
$create boolean Create file if it does not exist (if true)
$html string Html to write
Результат boolean
    public function write($destination, $create = true, $html = null)
    {
        $output = $this->output($html);
        $File = new File($destination, $create);
        return $File->write($output) && $File->close();
    }