WordPress\AiClientDependencies\Psr\Http\Message

StreamInterface::rewindpublicWP 1.0

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

Method of the class: StreamInterface{}

No Hooks.

Returns

null. Nothing (null).

Usage

$StreamInterface = new StreamInterface();
$StreamInterface->rewind(): void;

Notes

  • See: seek()

StreamInterface::rewind() code WP 7.0

public function rewind(): void;