◆ __construct()
| App\Rules\validFechaRealizacion::__construct |
( |
| $estado | ) |
|
Constructor.
- Parameters
-
| string | $estado | Estado de la tarea. |
◆ validate()
| App\Rules\validFechaRealizacion::validate |
( |
string | $attribute, |
|
|
mixed | $value, |
|
|
Closure | $fail ) |
Run the validation rule.
- Parameters
-
| string | $attribute | |
| mixed | $value | |
| \Closure | $fail | |
- Returns
- void
◆ validateFecha()
| App\Rules\validFechaRealizacion::validateFecha |
( |
| $value | ) |
|
|
private |
Validate the date based on the task state.
- Parameters
-
- Returns
- bool
◆ $estado
| App\Rules\validFechaRealizacion::$estado |
|
protected |
The documentation for this class was generated from the following file: