Skip to content

Use AppendIterator #5

Description

@sagikazarmark

AppendIterator just does the same as you implemented in IteratorIterator. Also, the name seems to be confusing a bit, as IteratorIterator has another meaning in SPL.

Here is a simple extension which does the same as your class:

https://github.com/indigophp/iterators/blob/master/src/AppendIterator.php

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions