You are here

public function PumpStream::eof in Zircon Profile 8.0

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

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

Return value

bool

Overrides StreamInterface::eof

1 call to PumpStream::eof()
PumpStream::getContents in vendor/guzzlehttp/psr7/src/PumpStream.php
Returns the remaining contents in a string

File

vendor/guzzlehttp/psr7/src/PumpStream.php, line 81

Class

PumpStream
Provides a read only stream that pumps data from a PHP callable.

Namespace

GuzzleHttp\Psr7

Code

public function eof() {
  return !$this->source;
}