You are here

public function Stream::eof in Auth0 Single Sign On 8.2

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

Return value

bool

Overrides StreamInterface::eof

File

vendor/guzzlehttp/psr7/src/Stream.php, line 164

Class

Stream
PHP stream implementation.

Namespace

GuzzleHttp\Psr7

Code

public function eof() {
  if (!isset($this->stream)) {
    throw new \RuntimeException('Stream is detached');
  }
  return feof($this->stream);
}