Syntax
Annotations
Attributes
Caveats
The following composite constraints can’t be used with attributes:
- All
- AtLeastOneOf Constraint
- Collection
- Compound Constraint (abstract)
- Existance (abstract)
- Required
- Optional
- Existance (abstract)
- Sequentially Constraint
The reason is that they would require nested attributes and PHP doesn’t support that feature yet