DataAwareRule.php
2 years ago
Factory.php
2 years ago
ImplicitRule.php
2 years ago
InvokableRule.php
1 month ago
Rule.php
2 years ago
UncompromisedVerifier.php
2 years ago
ValidatesWhenResolved.php
2 years ago
Validator.php
2 years ago
ValidatorAwareRule.php
2 years ago
InvokableRule.php
18 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWPSCOPED\Illuminate\Contracts\Validation; |
| 4 | |
| 5 | /** @internal */ |
| 6 | interface InvokableRule |
| 7 | { |
| 8 | /** |
| 9 | * Run the validation rule. |
| 10 | * |
| 11 | * @param string $attribute |
| 12 | * @param mixed $value |
| 13 | * @param \Closure(string): \Illuminate\Translation\PotentiallyTranslatedString $fail |
| 14 | * @return void |
| 15 | */ |
| 16 | public function __invoke($attribute, $value, $fail); |
| 17 | } |
| 18 |