improved-php-iterable
improved-php-iterable copied to clipboard
Functions working with arrays, Iterators and other Traversable objects (PHP)
The `toArray()` method outputs an associative array. If you want the values, you explicitly need to use the `values()` step. Adding specific methods for associative and sequential arrays would be...
Add methods to append or prepend items to an iterator. ```php Pipeline::with($items) ->append($extraItems); ```
The iterable value and type can be determined based on the called methods and/or callbacks passed to those methods. Use PHPStan syntax for generics and callables.
Hi there.. Thanks for making nice useable code available.. This is a Question Any plans on adding php 8.2+ support for this lib?? Thanks Johan