class Serialize extends Mutator (View source)

Serialize input

Traits

Methods

mixed
__invoke(mixed $value)

Mutate the input value.

from  Mutator
static Makes
make()

Create a new instance of the class.

from  Makes
mixed
mutate(mixed $value)

Mutate the input value.

Details

final mixed __invoke(mixed $value)

Mutate the input value.

Parameters

mixed $value

Return Value

mixed

static Makes make()

Create a new instance of the class.

Return Value

Makes

mixed mutate(mixed $value)

Mutate the input value.

Parameters

mixed $value

Return Value

mixed