Closed nozavroni closed 7 years ago
This simply pulls streamize() out of the Stream class and puts it in its own namespaced function so instead of this:
$stream = Stream::streamize("all your base are belong to us");
you do this
$stream = streamize("all your base are belong to us");
Also, add support for accepting anything that implements Iterator by instantiating an IO\IteratorStream object.
Iterator
IO\IteratorStream
Finished... just needs docs and possibly more testing.
Closing all issues that only need documentation.
This simply pulls streamize() out of the Stream class and puts it in its own namespaced function so instead of this:
you do this
Also, add support for accepting anything that implements
Iterator
by instantiating anIO\IteratorStream
object.