bcosca/fatfree — pull request #709 by sam-at-github (2014-10-22 09:12:52+00:00)
Title: Adds four methods needed for Cursor to implement Iterator. Refs #632

Adds four methods needed for Cursor to implement Iterator for convenience in line with SPL approach to collections.

All trivial wrappers on existing methods. Cursor was already setup to support basic Iterator requirements, although it has particular behavior for incrementing current position out of bounds, which is all maintained.

See http://php.net/manual/en/class.iterator.php.