Changed the ResultInterface to an Iterator

This allows compatible with other projects and php core like foreach(), etc