You are here

public function StreamDecoratorTrait::read in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php \GuzzleHttp\Psr7\StreamDecoratorTrait::read()
2 methods override StreamDecoratorTrait::read()
CachingStream::read in vendor/guzzlehttp/psr7/src/CachingStream.php
Read data from the stream.
LimitStream::read in vendor/guzzlehttp/psr7/src/LimitStream.php
Read data from the stream.

File

vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php, line 129

Class

StreamDecoratorTrait
Stream decorator trait @property StreamInterface stream

Namespace

GuzzleHttp\Psr7

Code

public function read($length) {
  return $this->stream
    ->read($length);
}