Writer

Abstract class for writing character streams.

package

phing.system.io

Methods

Writes data to output stream.

write(string $buf, int $off = null, int $len = null) 
abstract

Arguments

$buf

string

$off

int

$len

int

Close the stream.

close() 
abstract
throws
  • if there is an error closing stream.

Flush the stream, if supported by the stream.

flush() 

Returns a string representation of resource filename, url, etc. that is being written to.

getResource() : string
abstract

Response

string