Wrapper class for PHP stream that supports write operations.
package | phing.system.io |
---|
__construct(resource $stream)
resource
Configured PHP stream for writing.
__toString() : string
string
close() : 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
string
Binary/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