system/io/FileOutputStream.php
\FileOutputStream
Package: phing\system\io
Output stream subclass for file streams.
- Parent(s)
- \OutputStream
Properties
Methods

__construct(
mixed $file, boolean $append
=
false
)
:
voidConstruct a new FileOutputStream.
Parameters
Throws
| Name | Type | Description |
|---|---|---|
| $file | mixed | |
| $append | boolean | Whether to append bytes to end of file rather than beginning. |
| Exception | Description |
|---|---|
| \Exception | - if invalid argument specified. |
| \IOException | - if unable to open file. |

__toString(
)
:
stringReturns a string representation of the attached file.
Returns
| Type | Description |
|---|---|
| string |