interface ImplicitRule implements Rule (View source)

deprecated see ValidationRule

Methods

bool
passes(string $attribute, mixed $value)

Determine if the validation rule passes.

from  Rule
string|array
message()

Get the validation error message.

from  Rule

Details

bool passes(string $attribute, mixed $value)

Determine if the validation rule passes.

Parameters

string $attribute
mixed $value

Return Value

bool

string|array message()

Get the validation error message.

Return Value

string|array

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.