You are here

public function AppendStream::eof in Lockr 7.3

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 131

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