HaruDoc::save()
(PECL haru >= 0.0.1)
Save 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异常。
参见
- HaruDoc::output() Write the document data to the output buffer