class ArrayRule implements Stringable (View source)

Properties

protected array $keys

The accepted keys.

Methods

__construct(Arrayable|array|null $keys = null)

Create a new array rule instance.

string
__toString()

Convert the rule to a validation string.

Details

__construct(Arrayable|array|null $keys = null)

Create a new array rule instance.

Parameters

Arrayable|array|null $keys

string __toString()

Convert the rule to a validation string.

Return Value

string

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.