system/io/Writer.php

Show: inherited
Table of Contents

Abstract class for writing character streams.

Package
phing.system.io  

\Writer

Package: phing\system\io

Abstract class for writing character streams.

Children
\LogWriter
\BufferedWriter
\OutputStreamWriter

Methods

methodpublicclose( ) : void
abstract

Close the stream.

Throws
Exception Description
\IOException - if there is an error closing stream.
methodpublicflush( ) : void

Flush the stream, if supported by the stream.

methodpublicgetResource( ) : string
abstract

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

Returns
Type Description
string
methodpublicwrite( string $buf, int $off = null, int $len = null ) : void
abstract

Writes data to output stream.

Parameters
Name Type Description
$buf string
$off int
$len int
Documentation was generated by DocBlox 0.18.1.