You are here

public function PhpInputStream::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-diactoros/src/PhpInputStream.php \Zend\Diactoros\PhpInputStream::__construct()

Parameters

string|resource $stream:

string $mode:

Overrides Stream::__construct

File

vendor/zendframework/zend-diactoros/src/PhpInputStream.php, line 31

Class

PhpInputStream
Caching version of php://input

Namespace

Zend\Diactoros

Code

public function __construct($stream = 'php://input', $mode = 'r') {
  $mode = 'r';
  parent::__construct($stream, $mode);
}