interface InvokableRule (View source)

Methods

void
__invoke(string $attribute, mixed $value, $fail)

Run the validation rule.

Details

void __invoke(string $attribute, mixed $value, $fail)

Run the validation rule.

Parameters

string $attribute
mixed $value
$fail

Return Value

void