public function DroppingStream::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/guzzlehttp/psr7/src/DroppingStream.php \GuzzleHttp\Psr7\DroppingStream::__construct()
Parameters
StreamInterface $stream Underlying stream to decorate.:
int $maxLength Maximum size before dropping data.:
Overrides StreamDecoratorTrait::__construct
File
- vendor/
guzzlehttp/ psr7/ src/ DroppingStream.php, line 20
Class
- DroppingStream
- Stream decorator that begins dropping data once the size of the underlying stream becomes too full.
Namespace
GuzzleHttp\Psr7Code
public function __construct(StreamInterface $stream, $maxLength) {
$this->stream = $stream;
$this->maxLength = $maxLength;
}