PHP Class Webmozart\Console\IO\InputStream\StreamInputStream

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

Public Methods

Method Description
__construct ( resource $stream ) Creates the input.
close ( )
isClosed ( )
read ( $length )
readLine ( $length = null )

Method Details

__construct() public method

Creates the input.
public __construct ( resource $stream )
$stream resource A stream resource.

close() public method

public close ( )

isClosed() public method

public isClosed ( )

read() public method

public read ( $length )

readLine() public method

public readLine ( $length = null )