MutatesUsing
class MutatesUsing extends Mutator (View source)
Mutate a value using a callback.
The callback can accept a single argument and return a value
Methods
__construct(mixed $callback)
No description
static MutatesUsing
make(mixed $callback)
No description
mixed
mutate(mixed $value)
Mutate the input value.
Details
__construct(mixed $callback)
No description
static MutatesUsing
make(mixed $callback)
No description
mixed
mutate(mixed $value)
Mutate the input value.