HH\Iterable::getIterator

Returns an iterator that points to beginning of the current Iterable

Description

public function getIterator(): Iterator<Tv>;

Return Values

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