Skip to content

Stream: __construct Example

Terry L edited this page Jun 20, 2020 · 2 revisions

Shieldon\Psr7\Stream

__construct

  • param resource stream * A valid resource.

Example:

$stream = new \Shieldon\Psr7\Stream(fopen('php://temp', 'r+'));
Clone this wiki locally