Filter
class Filter extends ArrayMutator (View source)
Filter an array using a callback. The callback receives both the value and the key of the array.
Methods
__construct(callable $callback = null)
No description
array
mutateArray(array $array)
No description
Details
__construct(callable $callback = null)
No description
static Filter
make(callable $callback = null)
No description
mixed
mutate(mixed $value)
Mutate the input value.
protected array
mutateArray(array $array)
No description