This singleton contains a set of validation functions that can be used to validate any type of data. They are most often used in Models, where they are automatically set up and executed.
The default error message used when an exclusion validation fails
The default error message used when an exclusion validation fails
The default error message used when a format validation fails
The default error message used when a format validation fails
The default error message used when an inclusion validation fails
The default error message used when an inclusion validation fails
The default error message used when a length validation fails
The default error message used when a length validation fails
Returns true if the given value passes validation against the configured matcher regex
Returns true if the given value passes validation against the configured matcher regex
Optional config object
The value to validate
True if the value passes the format validation
Returns true if the given value is between the configured min and max values
Returns true if the given value is between the configured min and max values
Optional config object
The value to validate
True if the value passes validation