If you, as a PHP developer, are looking for an approach that lets you build traversable classes that stick more strictly to the Single Responsibility Principle, then maybe it is time to consider the functionality provided by external iterators.

Read the full article here: External PHP Iterators using the ArrayIterator Class

For more discussion go here: Blog Article Discussion