Gestión Constructora
 
Loading...
Searching...
No Matches
App\Rules\validFechaRealizacion Class Reference
Inheritance diagram for App\Rules\validFechaRealizacion:

Public Member Functions

 __construct ($estado)
 
 validate (string $attribute, mixed $value, Closure $fail)
 

Protected Attributes

 $estado
 

Private Member Functions

 validateFecha ($value)
 

Constructor & Destructor Documentation

◆ __construct()

App\Rules\validFechaRealizacion::__construct ( $estado)

Constructor.

Parameters
string$estadoEstado de la tarea.

Member Function Documentation

◆ 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
mixed$value
Returns
bool

Member Data Documentation

◆ $estado

App\Rules\validFechaRealizacion::$estado
protected

The documentation for this class was generated from the following file: