Releases: Smoren/sequence-php
Releases · Smoren/sequence-php
Tests updated
PHPdoc annotations fix
v3.0.1 PHPdoc annotations fix
Params order changed in map() function
- Function
map()
: params order changed, mapping of multiple collections support added. - Tests updated for
map()
. - README updated.
Class DynamicSequence added
Class DynamicSequence
added — implementation of sequence configured with callables.
New functions added
map(iterable $collection, callable $mapper): IndexedArray
filter(iterable $collection, callable $filter): IndexedArray
reduce(iterable $collection, callable $reducer, mixed $initialValue = null): IndexedArray
Fully documented, bugs fixed
v2.0.1 Fully documented.
Fully refactored, backwards compatibility broken.
v2.0.0 Fully refactored, backward compatibility broken.
PHPDOC updated
v1.1.1 phpdoc upd
Function xrange added
v1.1.0 xrange function added
Bug fixed, readme upd
v1.0.1 bug fxied, readme upd