interface ArrayInterface implements ArrayAccess, Countable, IteratorAggregate, Serializable (View source)

ArrayInterface provides traversable array functionality to data types.

Methods

void
clear()

Removes all items from this array.

array
toArray()

Returns a native PHP array representation of this array object.

bool
isEmpty()

Returns true if this array is empty.

Details

void clear()

Removes all items from this array.

Return Value

void

array toArray()

Returns a native PHP array representation of this array object.

Return Value

array

bool isEmpty()

Returns true if this array is empty.

Return Value

bool