ArrayHash
class ArrayHash extends stdClass implements ArrayAccess, Countable, IteratorAggregate
Array-like object with property access.
Methods
getIterator()
No description
int
count()
No description
void
offsetSet(array-key $key, T $value)
Replaces or appends an item.
mixed
offsetGet(array-key $key)
Returns an item.
bool
offsetExists(array-key $key)
Determines whether an item exists.
void
offsetUnset(array-key $key)
Removes the element from this list.
Details
at line 26
static ArrayHash
from(array $array, bool $recursive = true)
Transforms array to ArrayHash.
at line 42
Iterator
getIterator()
No description
at line 50
int
count()
No description
at line 61
void
offsetSet(array-key $key, T $value)
Replaces or appends an item.
at line 76
mixed
offsetGet(array-key $key)
Returns an item.
at line 86
bool
offsetExists(array-key $key)
Determines whether an item exists.
at line 96
void
offsetUnset(array-key $key)
Removes the element from this list.