public function StreamInterface::rewind in Lockr 7.3
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.
See also
seek()
5 methods override StreamInterface::rewind()
- AppendStream::rewind in vendor/
guzzlehttp/ psr7/ src/ AppendStream.php - Seek to the beginning of the stream.
- BufferStream::rewind in vendor/
guzzlehttp/ psr7/ src/ BufferStream.php - Seek to the beginning of the stream.
- FnStream::rewind in vendor/
guzzlehttp/ psr7/ src/ FnStream.php - Seek to the beginning of the stream.
- PumpStream::rewind in vendor/
guzzlehttp/ psr7/ src/ PumpStream.php - Seek to the beginning of the stream.
- Stream::rewind in vendor/
guzzlehttp/ psr7/ src/ Stream.php - Seek to the beginning of the stream.
File
- vendor/
psr/ http-message/ src/ StreamInterface.php, line 99
Class
- StreamInterface
- Describes a data stream.
Namespace
Psr\Http\MessageCode
public function rewind();