implements |
ArrayAccess |
|---|
Recursive array class to allow multidimensional array access.
| Since | |
|---|---|
3.6.0 |
|
| Methods | ||||||
|---|---|---|---|---|---|---|
protected
|
__construct(array $data = [])
Default object constructor.
|
# | ||||
public
|
__clone()
Allow deep copies of objects
Allow deep copies of objects |
# | ||||
public
|
toArray(): array
Output the data container as a multidimensional array.
Output the data container as a multidimensional array. |
# | ||||
public
|
offsetExists(mixed $offset): boolean
Whether a offset exists
Whether a offset exists Parameters
Returnstrue on success or false on failure. Implements |
# | ||||
public
|
offsetGet(mixed $offset): mixed
Offset to retrieve
Offset to retrieve Parameters
ReturnsCan return all value types. Implements |
# | ||||
public
|
offsetSet(mixed $offset, mixed $data): void
Offset to set
Offset to set Parameters
Implements |
# | ||||
public
|
offsetUnset(mixed $offset): void
Offset to unset
|
# | ||||
| Properties | |||
|---|---|---|---|
protected
|
array
|
$container = []
|
# |
protected
|
bool
|
$dirty = false
|
# |