Collection
interface Collection implements Iterator
Collection interface
Methods
void
clear()
Resets the collection
bool
contains(mixed $element)
Checks whether the given element is in this collection
bool
isEmpty()
Checks whether this collection is empty
int
size()
Returns the amount of elements in this collection
array
toArray()
Returns the collection as an array
Details
at line 23
void
clear()
Resets the collection
at line 39
bool
contains(mixed $element)
Checks whether the given element is in this collection
at line 30
bool
isEmpty()
Checks whether this collection is empty
at line 46
int
size()
Returns the amount of elements in this collection
at line 53
array
toArray()
Returns the collection as an array