You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since $collection->autoPagingIterator() is already returning an iterator, it seems like a small request to add the getIterator() required by the IteratorAggregate interface to the Collection class.
Is this something that seems feasible?
Kind Regards,
Steff
The text was updated successfully, but these errors were encountered:
Hello,
I am writing this issue to suggest the use of
IteratorAggregate
to theCollection
class.I would like to be able to use the
Collection
as follows:Since
Collection
is not implementing aTraversable
, this is currently not possible.Right now iteration is possible using the following methods:
Since
$collection->autoPagingIterator()
is already returning an iterator, it seems like a small request to add thegetIterator()
required by theIteratorAggregate
interface to theCollection
class.Is this something that seems feasible?
Kind Regards,
Steff
The text was updated successfully, but these errors were encountered: