public function StreamDecoratorTrait::__construct in Lockr 7.3
Parameters
StreamInterface $stream Stream to decorate:
6 methods override StreamDecoratorTrait::__construct()
- CachingStream::__construct in vendor/
guzzlehttp/ psr7/ src/ CachingStream.php - We will treat the buffer object as the body of the stream
- DroppingStream::__construct in vendor/
guzzlehttp/ psr7/ src/ DroppingStream.php - InflateStream::__construct in vendor/
guzzlehttp/ psr7/ src/ InflateStream.php - LazyOpenStream::__construct in vendor/
guzzlehttp/ psr7/ src/ LazyOpenStream.php - LimitStream::__construct in vendor/
guzzlehttp/ psr7/ src/ LimitStream.php
File
- vendor/
guzzlehttp/ psr7/ src/ StreamDecoratorTrait.php, line 15
Class
- StreamDecoratorTrait
- Stream decorator trait @property StreamInterface stream
Namespace
GuzzleHttp\Psr7Code
public function __construct(StreamInterface $stream) {
$this->stream = $stream;
}