public function StreamInterface::setStream

Set the stream that is wrapped by the object

Parameters

resource $stream Stream resource to wrap:

int $size Size of the stream in bytes. Only pass if the size cannot be obtained from the stream.:

Return value

self

2 methods override StreamInterface::setStream()

File

drupal/core/vendor/guzzle/stream/Guzzle/Stream/StreamInterface.php, line 41

Class

StreamInterface
OO interface to PHP streams

Namespace

Guzzle\Stream

Code

public function setStream($stream, $size = null);