Rules
Interfaces, Classes and Traits
- ArrayRule
- Validates that the value given for the specified field is an array.
- BooleanRule
- Validates that the value given for the specified field is a boolean.
- GreaterThanEqualRule
- Validates that the value given for the specified field is greater than or equal to the rule's value.
- GreaterThanRule
- Validates that the value provided for the specified field is greater than the rule's value.
- InArrayRule
- Validates that the value provided for the specified field is an array.
- IntegerRule
- Validates that the value provided for the specified field is an integer.
- JsonRule
- Validates that the value provided for the specified field is a valid JSON object. May be provided as a string or actual JSON object -- both are valid and evaluate to true.
- LessThan
- Validates that the value provided for the specified field is less than the rule's value.
- LessThanEqual
- Validates that the value provided for the specified field is less than or equal to the rule's value.
- MaxRule
- Validates that the value provided for the specified field has a max character length as specified by the rule's value.
- MinRule
- Validates that the value provided for the specified field has a minimum character length as specified by the rule's value.
- NumericRule
- Class NumericRule
- ObjectRule
- Validates that the value provided for the specified field is an object.
- PresentRule
- Validates that a value has been provided for the specified field. This value may be null or empty.
- RequiredRule
- Validates that a value has been provided for the specified field and is not empty or null.
- StringRule
- Validates that the value provided for the specified field is a string.
- UniqueRule
- Validates that the value provided for the specified field is unique and doesn't have any same values in the specified database.