aws/aws-sdk-php — pull request #22 by jeremeamia (2012-12-14 10:12:16+00:00)
Title: Refactored iterators to remove code duplication and ease creation

## Goals

- Make it easier to create and test iterators
- Reduce code duplication in iterator classes and tests
- Generalize iterator logic
- Describe iterators through meta configuration, but allow concrete overrides

## What I did

- Removed all previous iterators classes and tests
- Rewrote AbstractResourceIterator and renamed to AwsResourceIterator
- Created a AwsResourceIteratorFactory and wired into the AbstractClient
- Added methods to the clients that return a meta configuration for its iterators
- Wrote concrete iterators for special cases that extend the AwsResourceIterator
- Took previous unit tests and repurposed into other unit and integration tests