nozavroni / csvelte

🕺🏻 CSV and Tabular Data library for PHP
http://phpcsv.com/
Other
6 stars 0 forks source link

Implement a ``streamize()`` function alias and refactor Stream::streamize() #123

Closed nozavroni closed 7 years ago

nozavroni commented 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.

nozavroni commented 7 years ago

Finished... just needs docs and possibly more testing.

nozavroni commented 7 years ago

Closing all issues that only need documentation.