Skip to content

Stream: __construct Example

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

__construct

  • param resource stream * A valid resource.

Example:

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