HaruDoc::save

(PECL haru >= 0.0.1)

HaruDoc::saveSave the document into the specified file

Description

HaruDoc::save ( string $file ) : bool

Saves the document into the specified file.

Parameters

file

The file to save the document to.

Return Values

Returns TRUE on success.

Errors/Exceptions

Throws a HaruException on error.

See Also