interface ImplicitRule implements Rule

deprecated see ValidationRule

Methods

bool
passes(string $attribute, mixed $value)

Determine if the validation rule passes.

from  Rule
array|string
message()

Get the validation error message.

from  Rule

Details

in Rule at line 15
bool passes(string $attribute, mixed $value)

Determine if the validation rule passes.

Parameters

string $attribute
mixed $value

Return Value

bool

in Rule at line 20
array|string message()

Get the validation error message.

Return Value

array|string