mini\Http\Message\Stream::rewind() Method

public

Signature

public function rewind(): void

Returns

void

Documentation

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).

Source

src/Http/Message/StreamTrait.php:185-190