class ArrayKeys implements Stringable (View source)

Properties

protected array $keys

The accepted keys.

Methods

__construct(Arrayable|array $keys)

Create a new array keys rule instance.

string
__toString()

Convert the rule to a validation string.

Details

__construct(Arrayable|array $keys)

Create a new array keys rule instance.

Parameters

Arrayable|array $keys

string __toString()

Convert the rule to a validation string.

Return Value

string