HH\Iterator

The HH\Iterator<Tv> interface

This page is a quick reference for people already familiar with the class. If this is new to you, we strongly recommend reading the introductory guides first:


For those entities that are Traversable, the Iterator interfaces provides the methods of iteration.

If a class implements Iterator, then it provides the infrastructure to be iterated over using a foreach loop.

Interface synopsis

interface Iterator implements Traversable, Iterator {...}