ebene7 / php-lib
E7 PHP Library
Installs: 1 773
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=5.4.0
Requires (Dev)
- phpunit/phpunit: 6.5.6
This package is auto-updated.
Last update: 2024-11-16 01:30:46 UTC
README
Installation
The best way to install ebene7/php-lib is using Composer:
$ composer require ebene7/php-lib
Date
- DateRange
Iterator
- LeafIterator
- PermutationIterator
- ProxyCallIterator
- WalkableIterator
Changes
1.1.0
- The namespace for AbstractRange has changed from \E7\Utility to \E7\Utility\Range
- Merge calls now the method afterMerge($this, $range) to modify the payload
- Remove $class parameter from AbstractRange::create(), add optional parameter $options instead
- The values $lowerFrom and $higherTo now instanciate only once and stored in property in DateRange
- Add method getInterval() and getPeriod() to DateRange
- AbstractRange::create() can now handle flexible parameter lists
- AbstractIteratorDecorator inherits now from OuterIterator instead from Iterator
- Add MergeableRangeInterface and implements it in AbstractRange
- The merge methods can handle now two modes "touch" and "overlap"
- Change PHPUnit version and namespaces in testclasses