Class ArrayHash
Provides objects to work as array.
- ArrayHash implements ArrayAccess, Countable, IteratorAggregate, Traversable
Direct Known Subclasses
Row
public static
ArrayHash
|
#
from(
array
$arr
)
Parameters$arr array to wrap |
public
ArrayIterator
|
#
getIterator(
)
Returns an iterator over all items. |
public
int
|
#
count(
)
Returns items count. |
public
void
|
#
offsetSet(
mixed
$key,
mixed
$value
)
Replaces or appends a item. Replaces or appends a item. Parameters$key mixed$value mixedImplementation of |
public
mixed
|
#
offsetGet(
mixed
$key
)
Returns a item. |
public
bool
|
#
offsetExists(
mixed
$key
)
Determines whether a item exists. |
public
void
|
#
offsetUnset(
mixed
$key
)
Removes the element from this list. Removes the element from this list. Parameters$key mixedImplementation of |