$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
array toArray() Get the instance as an array. Return Value array
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
static array where(array $array, callable $callback) Filter the array using the given callback. Parameters array $array callable $callback Return Value array
static array sortRecursive(array $array) Recursively sort an array by keys and values. Parameters array $array Return Value array
static mixed __callStatic(string $method, array $parameters) Dynamically handle calls to the class. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException
mixed __call(string $method, array $parameters) Dynamically handle calls to the class. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException
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
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
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
Page 966 of 996