ArrayLoader::addMessages()

$this addMessages(string $locale, string $group, array $messages, string|null $namespace = null) Add messages to the loader. Parameters string $locale string $group array $messages string|null $namespace Return Value $this

Arrayable::toArray()

array toArray() Get the instance as an array. Return Value array

Arr::sort()

static array sort(array $array, callable|string $callback) Sort the array using the given callback or "dot" notation. Parameters array $array callable|string $callback Return Value array

Arr::where()

static array where(array $array, callable $callback) Filter the array using the given callback. Parameters array $array callable $callback Return Value array

Arr::sortRecursive()

static array sortRecursive(array $array) Recursively sort an array by keys and values. Parameters array $array Return Value array

Arr::__callStatic()

static mixed __callStatic(string $method, array $parameters) Dynamically handle calls to the class. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException

Arr::__call()

mixed __call(string $method, array $parameters) Dynamically handle calls to the class. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException

Arr::pull()

static mixed pull(array $array, string $key, mixed $default = null) Get a value from the array, and remove it. Parameters array $array string $key mixed $default Return Value mixed

Arr::prepend()

static array prepend(array $array, mixed $value, mixed $key = null) Push an item onto the beginning of an array. Parameters array $array mixed $value mixed $key Return Value array

Arr::pluck()

static array pluck(array $array, string|array $value, string|array|null $key = null) Pluck an array of values from an array. Parameters array $array string|array $value string|array|null $key Return Value array