Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 443 Bytes

constraints.rst

File metadata and controls

14 lines (10 loc) · 443 Bytes

Validation Constraints Reference

The Validator is designed to validate objects against constraints. In real life, a constraint could be: "The cake must not be burned". In Symfony, constraints are similar: They are assertions that a condition is true.

Supported Constraints

The following constraints are natively available in Symfony: