You are here

public function AppendStream::eof in Zircon Profile 8.0

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

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

Return value

bool

Overrides StreamInterface::eof

1 call to AppendStream::eof()
AppendStream::seek in vendor/guzzlehttp/psr7/src/AppendStream.php
Attempts to seek to the given position. Only supports SEEK_SET.

File

vendor/guzzlehttp/psr7/src/AppendStream.php, line 123

Class

AppendStream
Reads from multiple streams, one after the other.

Namespace

GuzzleHttp\Psr7

Code

public function eof() {
  return !$this->streams || $this->current >= count($this->streams) - 1 && $this->streams[$this->current]
    ->eof();
}