public function Stream::eof in Lockr 7.3
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 169
Class
- Stream
- PHP stream implementation.
Namespace
GuzzleHttp\Psr7Code
public function eof() {
if (!isset($this->stream)) {
throw new \RuntimeException('Stream is detached');
}
return feof($this->stream);
}