classes/phing/system/io/OutputStream.php
Wrapper class for PHP stream that supports write operations.
- package
- phing.system.io
\OutputStream
Wrapper class for PHP stream that supports write operations.
- package
- phing.system.io
Properties
Methods

__construct(
resource $stream
)
:
Construct a new OutputStream.
| Name | Type | Description |
|---|---|---|
| $stream | resource | Configured PHP stream for writing. |

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

close(
)
:
voidCloses attached stream, flushing output first.
- throws
- if cannot close stream (note that attempting to close an already closed stream will not raise an IOException)