public function Stream::rewind in Zircon Profile 8
Same name in this branch
- 8 vendor/zendframework/zend-diactoros/src/Stream.php \Zend\Diactoros\Stream::rewind()
- 8 vendor/guzzlehttp/psr7/src/Stream.php \GuzzleHttp\Psr7\Stream::rewind()
- 8 vendor/symfony/psr-http-message-bridge/Tests/Fixtures/Stream.php \Symfony\Bridge\PsrHttpMessage\Tests\Fixtures\Stream::rewind()
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/psr7/src/Stream.php \GuzzleHttp\Psr7\Stream::rewind()
Seek to the beginning of the stream.
If the stream is not seekable, this method will raise an exception; otherwise, it will perform a seek(0).
@link http://www.php.net/manual/en/function.fseek.php
Throws
\RuntimeException on failure.
Overrides StreamInterface::rewind
See also
seek()
File
- vendor/
guzzlehttp/ psr7/ src/ Stream.php, line 190
Class
- Stream
- PHP stream implementation.
Namespace
GuzzleHttp\Psr7Code
public function rewind() {
$this
->seek(0);
}