CachingIterator::rewind

(PHP 5, PHP 7, PHP 8)

CachingIterator::rewind — Rewind the iterator

Description

public function CachingIterator::rewind(): void

Rewinds the inner iterator, empties the cache, and then moves to the first element as CachingIterator::next() does.

Parameters

This function has no parameters.

Return Values

No value is returned.

See Also