Remi's RPM repository - Packages

Blog | Forum | Repository | Wizard

php-PhpCollection - General purpose collection library for PHP

ASL 2.0
Remi Collet
This library adds basic collections for PHP.

Collections can be seen as more specialized arrays for which certain contracts
are guaranteed.

Supported Collections:
* Sequences
** Keys: numerical, consequentially increasing, no gaps
** Values: anything, duplicates allowed
** Classes: Sequence, SortedSequence
* Maps
** Keys: strings or objects, duplicate keys not allowed
** Values: anything, duplicates allowed
** Classes: Map, ObjectMap (not yet implemented)
* Sets (not yet implemented)
** Keys: not meaningful
** Values: anything, each value must be unique (===)
** Classes: Set

General Characteristics:
* Collections are mutable (new elements may be added, existing elements may be
  modified or removed). Specialized immutable versions may be added in the
  future though.
* Equality comparison between elements are always performed using the shallow
  comparison operator (===).
* Sorting algorithms are unstable, that means the order for equal elements is
  undefined (the default, and only PHP behavior).

Autoloader: /usr/share/php/PhpCollection/autoload.php


php-PhpCollection-0.5.0-1.remi.src [28 KiB] Changelog by Shawn Iwinski (2017-07-11):
- Updated to 0.5.0
- Switched autoloader to php-composer(fedora/autoloader)
- Test with SCLs if available
php-PhpCollection-0.4.0-4.remi.src [24 KiB] Changelog by Shawn Iwinski (2015-07-12):
- Added spec license
- New source script %{name} instead of %{name}
- Added autoloader
- Added standard "php-{COMPOSER_VENDOR}-{COMPOSER_PROJECT}" naming provides
- Added php-composer(phpcollection/phpcollection) provide
- %license usage
php-PhpCollection-0.4.0-1.remi.src [19 KiB] Changelog by Remi Collet (2014-04-22):
- backport 0.4.0 for remi repo.
php-PhpCollection-0.3.1-1.remi.src [19 KiB] Changelog by Remi Collet (2013-12-30):
- backport 0.3.1 for remi repo.