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.

Paramètres

bool $fails
string $message
array $corrupted_fields

Valeur de retour

void

bool fails()

Allows to know the status of the validation

Valeur de retour

bool

array getCorruptedFields()

Informs about fields that could not be validated

Valeur de retour

array

array getFailsRules()

The error message on the last commit

Valeur de retour

array

string getLastMessage()

The error message on the last commit

Valeur de retour

string

array getMessages()

The error message on the last commit

Valeur de retour

array

throwError()

Throw error

Exceptions

ValidationException