clear() clear(array|integer|string|null $keys = null) Delete the contents of a given key or keys Parameters array|integer|string|null $keys
flatten() flatten(string $delimiter = '.', array|null $items = null, string $prepend = '') : array Flatten an array with the given character as a key delimiter Parameters string $delimiter array|null $items string $prepend Returns array
get() get(integer|string|null $key = null, mixed $default = null) : mixed Return the value of a given key Parameters integer|string|null $key mixed $default Returns mixed
set() set(array|integer|string $keys, mixed $value = null) Set a given key / value pair or pairs Parameters array|integer|string $keys mixed $value
isEmpty() isEmpty(array|integer|string|null $keys = null) : boolean Check if a given key or keys are empty Parameters array|integer|string|null $keys Returns boolean
setReference() setReference(array $items) Replace all items with a given array as a reference Parameters array $items
toJson() toJson(mixed $key = null, integer $options) : string Return the value of a given key or all the values as JSON Parameters mixed $key integer $options Returns string
offsetExists() offsetExists(integer|string $key) : boolean Check if a given key exists Parameters integer|string $key Returns boolean
offsetGet() offsetGet(integer|string $key) : mixed Return the value of a given key Parameters integer|string $key Returns mixed
offsetSet() offsetSet(integer|string|null $key, mixed $value) Set a given value to the given key Parameters integer|string|null $key mixed $value
delete() delete(array|integer|string $keys) Delete the given key or keys Parameters array|integer|string $keys
count() count(integer|string|null $key = null) : integer Return the number of items in a given key Parameters integer|string|null $key Returns integer
getIterator() getIterator() : \ArrayIterator Get an iterator for the stored items Returns \ArrayIterator
add() add(array|integer|string $keys, mixed $value = null) Set a given key / value pair or pairs if the key doesn't exist already Parameters array|integer|string $keys mixed $value
has() has(array|integer|string $keys) : boolean Check if a given key or keys exists Parameters array|integer|string $keys Returns boolean