Copied!

CollectionInterface

CollectionInterface.php : 20
Extends Countable, IteratorAggregate

Methods

publicgetIterator()

CollectionInterface.php : 32
public getIterator() : Iterator

Return values

Iterator

publicisEmpty()

CollectionInterface.php : 22
public isEmpty() : bool

Return values

bool

publictoArray()

CollectionInterface.php : 27
public toArray() : array<string|int, TValue>

Return values

array<string|int, TValue>