HH\Iterable::getIterator

Returns an iterator that points to beginning of the current Iterable

public function getIterator(): Iterator<Tv>;

Returns

  • Iterator<Tv> - An Iterator that allows you to traverse the current Iterable.