PHP Class Phly\Http\PhpInputStream

Inheritance: extends Stream
Datei anzeigen Open project: phly/http

Public Methods

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

Method Details

__construct() public method

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

__toString() public method

public __toString ( )

getContents() public method

public getContents ( $maxLength )

isWritable() public method

public isWritable ( )

read() public method

public read ( $length )