phpday 2027 - Call for Papers

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

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top