Validate
classe Validate (Voir la source)
Méthodes
void
__construct(bool $fails, string $message, array $corrupted_fields)
Validate constructor.
bool
fails()
Allows to know the status of the validation
array
getCorruptedFields()
Informs about fields that could not be validated
array
getFailsRules()
The error message on the last commit
string
getLastMessage()
The error message on the last commit
array
getMessages()
The error message on the last commit
throwError()
Throw error
Détails
void
__construct(bool $fails, string $message, array $corrupted_fields)
Validate constructor.
bool
fails()
Allows to know the status of the validation
array
getCorruptedFields()
Informs about fields that could not be validated
array
getFailsRules()
The error message on the last commit
string
getLastMessage()
The error message on the last commit
array
getMessages()
The error message on the last commit
throwError()
Throw error