| Name | Description |
|---|---|
| VALIDATE_NONE | Turns off the whole validation procedure. |
| VALIDATE_LENGTHS | Makes Doctrine validate all field lengths. |
| VALIDATE_TYPES | Makes Doctrine validate all field types. Doctrine does loose type validation. This means that for example string with value '13.3' will not pass as an integer but '13' will. |
| VALIDATE_CONSTRAINTS | Makes Doctrine validate all field constraints such as notnull, email etc. |
| VALIDATE_ALL | Turns on all validations. |
Validation by default is turned off so if you wish for your data to be validated you will need to enable it. Some examples of how to change this configuration are provided below.