Call us: 0031 23-75-10500  |  Language: Dutch English German
 
The PxCollection Interface

PxCollection: Interface for collections

In many libraries and applications we need 'collections', which are objects that are traversable, countable
and can be accessed as arrays.

The interface is just a combination of the following PHP interfaces: IteratorAggregate,
Countable and ArrayAccess

Synopsis


Interface PxCollection extends IteratorAggregate, Traversable, Countable, ArrayAccess

Inherited methods

public Countable::count ( void )
public ArrayAccess::offsetExists ( $offset )
public ArrayAccess::offsetGet ( $offset )
public ArrayAccess::offsetSet ( $offset , $value )
public ArrayAccess::offsetUnset ( $offset )