Please wait while we load your page...


Latest Version [8.00202205221] Last Updated [May-22-2022]


PHP Manual [The Collection interface]

Protect Your Website Today

PHP Manual || Data Structures

(No version information available, might only be in Git)

Collection is the base interface which covers functionality common to all the data structures in this library. It guarantees that all structures are traversable, countable, and can be converted to json using json_encode().

Ds\Collection implements Traversable , Countable , JsonSerializable {
/* Methods */
abstract public clear ( void ) : void
abstract public copy ( void ) : Ds\Collection
abstract public isEmpty ( void ) : bool
abstract public toArray ( void ) : array

PHP Manual || Data Structures