PHP Class Webmozart\Console\IO\OutputStream\BufferedOutputStream

Since: 1.0
Author: Bernhard Schussek ([email protected])
Inheritance: implements Webmozart\Console\Api\IO\OutputStream
Show file Open project: webmozart/console Class Usage Examples

Public Methods

Method Description
clear ( ) Clears the buffer.
close ( )
fetch ( ) : string Returns the contents of the buffer.
flush ( )
isClosed ( )
supportsAnsi ( )
write ( $string )

Method Details

clear() public method

Clears the buffer.
public clear ( )

close() public method

public close ( )

fetch() public method

Returns the contents of the buffer.
public fetch ( ) : string
return string The buffered data.

flush() public method

public flush ( )

isClosed() public method

public isClosed ( )

supportsAnsi() public method

public supportsAnsi ( )

write() public method

public write ( $string )