Skip to content

ArrayInterface

ArrayInterface provides traversable array functionality to data types.

Methods

clear

Removes all items from this array.

public clear(): void

toArray

Returns a native PHP array representation of this array object.

public toArray(): array<array-key,\Ramsey\Collection\T>

isEmpty

Returns true if this array is empty.

public isEmpty(): bool


Automatically generated on 2025-03-18