static mixed first(array $array, callable $callback = null, mixed $default = null) Return the first element in an array passing a given truth test. Parameters array $array callable $callback mixed $default Return Value mixed
static bool exists(ArrayAccess|array $array, string|int $key) Determine if the given key exists in the provided array. Parameters ArrayAccess|array $array string|int $key Return Value bool
static array except(array $array, array|string $keys) Get all of the given array except for a specified array of items. Parameters array $array array|string $keys Return Value array
static array dot(array $array, string $prepend = '') Flatten a multi-dimensional associative array with dots. Parameters array $array string $prepend Return Value array
static array divide(array $array) Divide an array into two arrays. One with keys and the other with values. Parameters array $array Return Value array
static array collapse(array $array) Collapse an array of arrays into a single array. Parameters array $array Return Value array
static array add(array $array, string $key, mixed $value) Add an element to an array using "dot" notation if it doesn't exist. Parameters array $array string $key mixed $value Return Value array
static bool accessible(mixed $value) Determine whether the given value is array accessible. Parameters mixed $value Return Value bool
Arr class Arr (View source) Traits Macroable
AppNamespaceDetectorTrait trait AppNamespaceDetectorTrait (View source)
Page 968 of 996