Wrapper class for PHP stream that supports write operations.
package |
phing.system.io |
---|
__construct(resource $stream)
resource
Configured PHP stream for writing.
close() : void
throws |
if cannot close stream (note that attempting to close an already closed stream will not raise an IOException) |
---|
flush()
throws |
if unable to flush data (e.g. stream is not open). |
---|
write(string $buf, int $off = null, int $len = null) : void
throws |
|
---|
string
Binary/character data to write.
int
(Optional) offset.
int
(Optional) number of bytes/chars to write.
__toString() : string
string
stream : resource
var |
The configured PHP stream. |
---|
resource