HaruDoc::resetStream
HaruDoc::saveToStream
HaruDoc
PHP Manual

# HaruDoc::save

(PECL haru >= 0.0.1)

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

### Descrição

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

Saves the document into the specified file.

### Parâmetros

`file`

  The file to save the document to.

### Valor Retornado

Returns `TRUE` on success.

### Erros

Joga um HaruException em erro.

### Veja Também

- HaruDoc::output - Write the document data to the output buffer

HaruDoc::resetStream
HaruDoc::saveToStream
HaruDoc
PHP Manual