public function Stream::isSeekable in Zircon Profile 8
Same name in this branch
- 8 vendor/zendframework/zend-diactoros/src/Stream.php \Zend\Diactoros\Stream::isSeekable()
- 8 vendor/guzzlehttp/psr7/src/Stream.php \GuzzleHttp\Psr7\Stream::isSeekable()
- 8 vendor/symfony/psr-http-message-bridge/Tests/Fixtures/Stream.php \Symfony\Bridge\PsrHttpMessage\Tests\Fixtures\Stream::isSeekable()
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-diactoros/src/Stream.php \Zend\Diactoros\Stream::isSeekable()
Returns whether or not the stream is seekable.
Return value
bool
Overrides StreamInterface::isSeekable
1 call to Stream::isSeekable()
- Stream::seek in vendor/
zendframework/ zend-diactoros/ src/ Stream.php - Seek to a position in the stream.
File
- vendor/
zendframework/ zend-diactoros/ src/ Stream.php, line 140
Class
- Stream
- Implementation of PSR HTTP streams
Namespace
Zend\DiactorosCode
public function isSeekable() {
if (!$this->resource) {
return false;
}
$meta = stream_get_meta_data($this->resource);
return $meta['seekable'];
}