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
Rule.php
23 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWPSCOPED\Illuminate\Contracts\Validation; |
| 4 | |
| 5 | /** @internal */ |
| 6 | interface Rule |
| 7 | { |
| 8 | /** |
| 9 | * Determine if the validation rule passes. |
| 10 | * |
| 11 | * @param string $attribute |
| 12 | * @param mixed $value |
| 13 | * @return bool |
| 14 | */ |
| 15 | public function passes($attribute, $value); |
| 16 | /** |
| 17 | * Get the validation error message. |
| 18 | * |
| 19 | * @return string|array |
| 20 | */ |
| 21 | public function message(); |
| 22 | } |
| 23 |