Call us: 0031 23-75-10500  |  Language: Dutch English German
 
The PxCollections Library

PxCollections: Open source PHP Array-like and traversable library


In many libraries and applications we need 'collections', which are
objects that are traversable, countable and can be accessed as arrays.
Traversable objects are used by many other Copernica libraries to easily
access multiple objects at once.

PxCollections also provide a traversable object that you can use to return
empty collections (PxEmptyCollection) from methods that could
not provide the caller with the requested items or none of the items were found.

Use PxCollections library to avoid the implementation of the ArrayAccess,
IteratorAggregate and Countable interfaces and let PxCollections handle the
unnecessary implementions from PHP.

Interfaces

PxCollection - Interface for collections

Classes of PxCollections


PxCollectionCollection - Class that combines various collections into a single collection
PxWrappedCollection - A collection for wrapped objects
PxEmptyCollection - An empty collection
PxCollectionIterator - Object to iterate over a collection

Download


Development version

Date: n/a
Version: dev
Filesize: 4 kB

Download now

Archive

Version 1.0