StreamInterface $stream Underlying stream to decorate.:
int $maxLength Maximum size before dropping data.:
Overrides StreamDecoratorTrait::__construct
public function __construct(StreamInterface $stream, int $maxLength) { $this->stream = $stream; $this->maxLength = $maxLength; }