HH\Iterator::rewind

( excerpt from http://php

public function rewind(): void;

net/manual/en/iterator.rewind.php )

Rewinds back to the first element of the Iterator.

This is the first method called when starting a foreach loop. It will not be executed after foreach loops.

Return Values

  • mixed - Any returned value is ignored.