| 1 | <?php |
||
| 8 | class CronPatternRule implements Rule |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Determine if the validation rule passes. |
||
| 12 | * |
||
| 13 | * @param string $attribute |
||
| 14 | * @param mixed $value |
||
| 15 | * @return bool |
||
| 16 | */ |
||
| 17 | public function passes($attribute, $value) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Get the validation error message. |
||
| 27 | * |
||
| 28 | * @return string |
||
| 29 | */ |
||
| 30 | public function message() |
||
| 34 | } |
||
| 35 |