PHP Class Zend\Diactoros\PhpInputStream

Inheritance: extends Stream
Show file Open project: zendframework/zend-diactoros

Public Methods

Method Description
__construct ( string | resource $stream = 'php://input' )
__toString ( )
getContents ( $maxLength )
isWritable ( )
read ( $length )

Method Details

__construct() public method

public __construct ( string | resource $stream = 'php://input' )
$stream string | resource

__toString() public method

public __toString ( )

getContents() public method

public getContents ( $maxLength )

isWritable() public method

public isWritable ( )

read() public method

public read ( $length )