class ArrayRule implements Stringable (View source)

Properties

protected array $keys

The accepted keys.

Methods

void
__construct(array|null $keys = null)

Create a new array rule instance.

string
__toString()

Convert the rule to a validation string.

Details

void __construct(array|null $keys = null)

Create a new array rule instance.

Parameters

array|null $keys

Return Value

void

string __toString()

Convert the rule to a validation string.

Return Value

string