add RecursiveIteratorAggregateIterator
One more missing iterator.
I made it to travel deep tree Traversable structure without RecursiveIterator interface
PR Summary
- Introduction of New Recursive Iterator Class A new class called 'RecursiveIteratorAggregateIterator' has been created and included in a new file. This class is designed to handle how lists or other sets of data are stepped through, especially if these sets contain other nested sets.
- Unit Test for New Recursive Iterator Class To validate the functionality of the new Recursive Iterator class, a series of unit tests have been created and captured in a file called 'RecursiveIteratorAggregateIteratorTest'.
- Expansion of Unit Test to Cover New Cases The already-existing 'RecursiveIteratorAggregateIteratorTest' was updated to include a new case called 'testRecursiveIteratorAggregateIterator'. This additional test is designed to ensure that the new class correctly handles a series of nested objects.
hey hi first contributor!
Thanks for the PR! Can you please fix the static analysis issue and code style?
Once it's done, I'll review it manually.
Thanks again!
Does this PR is similar to https://github.com/loophp/iterators/pull/61 ?
Yes, #61 has same logic, but for different structeres. this iterator provides recursive iteration over tree-like structure of objects implementing Itrator or IteratorArgregate interface. RecursiveIterableAggregate in #61 adds iteration over traversable tree-like structures (like deep array or array of object tree).
Since this pull request has not had any activity within the last 5 days, I have marked it as stale. I will close it if no further activity occurs within the next 5 days.