You are here

public function StreamDecoratorTrait::read in Lockr 7.3

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);
}