public function StreamDecoratorTrait::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php \GuzzleHttp\Psr7\StreamDecoratorTrait::__construct()
Parameters
StreamInterface $stream Stream to decorate:
7 methods override StreamDecoratorTrait::__construct()
- BadStream::__construct in vendor/
guzzlehttp/ psr7/ tests/ StreamDecoratorTraitTest.php - 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
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;
}