interface ValidationRule (View source)

Methods

void
validate(string $attribute, mixed $value, Closure $fail)

Run the validation rule.

Details

void validate(string $attribute, mixed $value, Closure $fail)

Run the validation rule.

Parameters

string $attribute
mixed $value
Closure $fail

Return Value

void