class Reverse extends ArrayMutator (View source)

Return an array with elements in reverse order

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.

array
mutateArray(array $array)

No description

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

protected array mutateArray(array $array)

No description

Parameters

array $array

Return Value

array