Last
class Last extends Mutator (View source)
Returns the last element of an array.
Methods
__construct(callable $callback = null)
No description
mixed
mutate(mixed $value)
Mutate the input value.
Details
__construct(callable $callback = null)
No description
static Last
make(callable $callback = null)
No description
mixed
mutate(mixed $value)
Mutate the input value.