# system/io/FileWriter.php

## \FileWriter
jump to top

Package: phing\system\io

Convenience class for performing file write operations.

Parent(s)
  \OutputStreamWriter < \Writer

### Methods

`__construct( mixed $file, boolean $append = false ) : void`

Construct a new FileWriter.

Parameters

Name | Type | Description
--- | --- | ---
$file | mixed | PhingFile or string pathname.
$append | boolean | Append to existing file?

`close( ) : void`

`flush( ) : void`

`getResource( ) : void`

`write( ) : void`

Documentation was generated by DocBlox 0.17.1.