Propel Iterators
Propel Iterators is an experimental feature added in trunk in rev. 1069.
Propel Iterators allows you to activate Propel Iterator support by setting an implementation of a PHP SPL Iterator (http://www.php.net/manual/en/book.spl.php). If you activate iterator support in Propel functions like doSelect will return an instance of the set Iterator instead of an array. You can activate iterator support in build.properties:
propel.iteratorClass = ArrayIterator
Now, after your next build, functions like doSelect and getFoos() (FK getters) will return an instance of ArrayIterator instead of an instance of array:
$foos = FooPeer::doSelect(new Criteria() ); assert($foos instanceof ArrayIterator);
