Class CollectionSequence
provide functions for last/1 and first/1 in a collection subset so example: $calls->find(array("direction" => "in", "state" => "started"))->first()
or $messages->find(array("from" => "+3030202")) ->find(array("text" => "Hello")) ->last()
- Catapult\CollectionObject
-
Catapult\CollectionSequence
Methods summary
public
|
#
__construct( data $data, class $class_ = __CLASS__ )
make the data structure according to the type of object then retrieve |
public
|
|
public
|
|
public
|
Methods inherited from Catapult\CollectionObject
__toString(),
add(),
find(),
get(),
isEmpty(),
listAll(),
listIterator(),
reload(),
setup(),
toArray()