ebene7/php-lib

There is no license information available for the latest version (v1.1.0) of this package.

E7 PHP Library

v1.1.0 2018-03-05 13:21 UTC

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