Open whyscream opened 1 year ago
After the work in #333 , we need to see what parts of this work are still relevant. Replacing get_next()
and get_previous()
with automatic pagination handling still seems useful.
Idea from https://github.com/mollie/mollie-api-php/pull/701, add a separate iterator()
method for the new implementation, in stead of a parameter for the list()
method
A heavily simplified class to wrap the results of
.list()
calls. Has cleaner code, implements autopagination handling, and no more features that actually shouldn't be there. See commit message for details.This should solve #278