Laravel
Release notes
Upgrade Guide
Contribution Guide
interface
Illuminate
/
Contracts
/
Validation
/
InvokableRule
InvokableRule
#
Methods
public
#
__invoke
(
string
$attribute
,
mixed
$value
,
Closure
$fail
)
:
void
Run the validation rule.
Parameters
$attribute
string
$value
mixed
$
Closure
\Illuminate\Translation\PotentiallyTranslatedString $fail
On this page
On this page
Methods
__invoke