HaruDoc::resetStream
HaruDoc::saveToStream
HaruDoc
PHP Manual

# HaruDoc::save

(PECL haru:0.0.1)

HaruDoc::save — Save the document into the specified file

### Description

bool HaruDoc::save ( string `$file` )

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 HaruException on error.

### See Also

- HaruDoc::output()

HaruDoc::resetStream
HaruDoc::saveToStream
HaruDoc
PHP Manual