class ArrayRule implements Stringable

Properties

protected array $keys

The accepted keys.

Methods

__construct(mixed $keys = null)

Create a new array rule instance.

string
__toString()

Convert the rule to a validation string.

Details

at line 22
__construct(mixed $keys = null)

Create a new array rule instance.

Parameters

mixed $keys

at line 34
string __toString()

Convert the rule to a validation string.

Return Value

string