HaruDoc::save

(PECL haru >= 0.0.1)

HaruDoc::saveSave the document into the specified file

说明

HaruDoc::save ( string $file ) : bool

Saves the document into the specified file.

参数

file

The file to save the document to.

返回值

Returns TRUE on success.

错误/异常

发生错误时抛出 HaruException 异常。

参见