Only
class Only extends ArrayMutator (View source)
Retrieve only the keys specified.
Methods
__construct(array|string $keys)
No description
array
mutateArray(array $array)
No description
Details
__construct(array|string $keys)
No description
static Only
make(array|string $keys)
No description
mixed
mutate(mixed $value)
Mutate the input value.
protected array
mutateArray(array $array)
No description