CompositeConstraintBase
abstract class CompositeConstraintBase extends Constraint (View source)
Provides a base class for constraints validating multiple fields.
The constraint must be defined on entity-level; i.e., added to the entity type.
Methods
string[]
coversFields()
An array of entity fields which should be passed to the validator.
Details
abstract string[]
coversFields()
An array of entity fields which should be passed to the validator.