public function Stream::eof in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/zendframework/zend-diactoros/src/Stream.php \Zend\Diactoros\Stream::eof()
- 8.0 vendor/guzzlehttp/psr7/src/Stream.php \GuzzleHttp\Psr7\Stream::eof()
- 8.0 vendor/symfony/psr-http-message-bridge/Tests/Fixtures/Stream.php \Symfony\Bridge\PsrHttpMessage\Tests\Fixtures\Stream::eof()
Same name and namespace in other branches
- 8 vendor/zendframework/zend-diactoros/src/Stream.php \Zend\Diactoros\Stream::eof()
Returns true if the stream is at the end of the stream.
Return value
bool
Overrides StreamInterface::eof
2 calls to Stream::eof()
- PhpInputStream::getContents in vendor/
zendframework/ zend-diactoros/ src/ PhpInputStream.php - Returns the remaining contents in a string
- PhpInputStream::read in vendor/
zendframework/ zend-diactoros/ src/ PhpInputStream.php - Read data from the stream.
File
- vendor/
zendframework/ zend-diactoros/ src/ Stream.php, line 128
Class
- Stream
- Implementation of PSR HTTP streams
Namespace
Zend\DiactorosCode
public function eof() {
if (!$this->resource) {
return true;
}
return feof($this->resource);
}