\Greg\Support\Accessor\ArrayObject
is an array as an object.
Implements: \ArrayAccess
,
\IteratorAggregate
,
\Serializable
,
\Countable
.
Uses: \Greg\Support\Accessor\ArrayAccessTrait
,
\Greg\Support\Accessor\IteratorAggregateTrait
,
\Greg\Support\Accessor\SerializableTrait
,
\Greg\Support\Accessor\CountableTrait
.
Methods description is under construction.
Includes ArrayAccessTrait, IteratorAggregateTrait, SerializableTrait and CountableTrait methods.
- toArray - Transform to array;
- exchange - Exchange array;
- exchangeRef - Exchange array reference;
- append - Append a value;
- appendRef - Append a value reference;
- appendKey - Append a key-value;
- appendKeyRef - Append a key-value reference;
- prependRef - Prepend a value reference;
- prependKey - Prepend a key-value;
- prependKeyRef - Prepend a key-value reference;
- asort - Asort array;
- ksort - Ksort array;
- natcasesort - Natcasesort array;
- natsort - Natsort array;
- uasort - Uasort array;
- uksort - Uksort array;
- current - Get current value;
- key - Get current key;
- next - Get next value;
- reset - Reset array;
- first - Get first value;
- last - Get last value;
- clear - Clear array;
- inArray - Determine if a key is in array;
- in - Determine if a value is in array;
- merge - Merge with an array;
- mergeRecursive - Merge with an array recursively;
- mergePrepend - Merge prepend with an array recursively;
- mergePrependRecursive - Merge prepend with an array recursively;
- mergeValues - Merge values;
- replace - Replace with an array;
- replaceRecursive - Replace with an array recursively;
- replacePrepend - Replace prepend with an array;
- replacePrependRecursive - Replace prepend with an array recursively;
- replaceValues - Replace values;
- diff - Diff array;
- map - Map array;
- mapRecursive - Map array recursively;
- filter - Filter array;
- filterRecursive - Filter array recursively;
- reverse - Reverse array;
- chunk - Chunk array;
- implode - Implode array;
- join - Alias of implode;
- shift - Shift array;
- pop - Pop array;
- group - Group array;
- column - Get column of arrays;
- walk - Walk array;
- shuffle - Shuffle array;
- sort - Sort array;
- arsort - Arsort array;
- krsort - Krsort array;
- keys - Get keys of array;
- values - Get values of array.
Methods description is under construction.