Wrapper class for PHP stream that supports write operations.
| package | phing.system.io |
|---|
__construct(resource $stream)
resourceConfigured PHP stream for writing.
__toString() : string
stringclose() : void
\IOException |
if cannot close stream (note that attempting to close an already closed stream will not raise an IOException) |
|---|
write(string $buf, int $off, int $len) : void
stringBinary/character data to write.
int(Optional) offset.
int(Optional) number of bytes/chars to write.
\IOException |
- if there is an error writing to stream |
|---|
$stream : resource