ArrayRule
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.
string
__toString()
Convert the rule to a validation 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.