Iterator

Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation.

Examples in PHP
No examples yet.
You can see if there are examples in other languages or
be the first to post an example in PHP!