You are here

public function CachingStream::eof in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/psr7/src/CachingStream.php \GuzzleHttp\Psr7\CachingStream::eof()

Returns true if the stream is at the end of the stream.

Return value

bool

Overrides StreamDecoratorTrait::eof

File

vendor/guzzlehttp/psr7/src/CachingStream.php, line 116

Class

CachingStream
Stream decorator that can cache previously read bytes from a sequentially read stream.

Namespace

GuzzleHttp\Psr7

Code

public function eof() {
  return $this->stream
    ->eof() && $this->remoteStream
    ->eof();
}