-
-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resouce Itterators #36
Comments
I don't really think the feature makes that much sense now that PHP has generators, which is why I left it out. I didn't really like how it was implemented either, so I'm not sure what the best design for it would be if it were brought back in some way.
|
Generators aren't an option for me since I need to support users on php 5.4. How will the new aws sdk be handling this? |
We will be using a very specific data driven iterator approach for AWS. We've found that implementing a specific iterator class for AWS rather than trying to fit iterator logic into an abstracted iterator class (ala Guzzle 3) has yielded far simpler code. We are going to release code later this year once we have more of the release strategy worked out and get Guzzle commands stable. |
Cool. Thanks. |
Are there any news about this? Would really appreciate it, if you could share some information about the iterators for AWS. |
The AWS SDK iterators can be found here: https://github.com/aws/aws-sdk-php/tree/v3/src/Common/Paginator. Iterating over resources is going to be vey application specific. If there is a way to describe this in a general-purpose way that works for multiple services, then I would suggest that it should part of a separate package that uses a client rather than be part of the client itself. |
When will these be returning to guzzle 4? Could you suggest an alternative that would work with guzzle 4?
The text was updated successfully, but these errors were encountered: