Map
class Map extends ArrayMutator (View source)
Applies the callback to the elements of the given array
Methods
__construct(callable $callback)
No description
array
mutateArray(array $array)
No description
Details
__construct(callable $callback)
No description
static Map
make(callable $callback)
No description
mixed
mutate(mixed $value)
Mutate the input value.
protected array
mutateArray(array $array)
No description