Walk
class Walk extends ArrayMutator (View source)
Apply a user function to every member of an array
Methods
__construct(callable $callback)
No description
array
mutateArray(array $array)
No description
Details
__construct(callable $callback)
No description
static Walk
make(callable $callback)
No description
mixed
mutate(mixed $value)
Mutate the input value.
protected array
mutateArray(array $array)
No description