class Collapse extends Mutator (View source)

Collapse an array of arrays into a single array.

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