class Choice extends Constraint
Constants
DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. NO_SUCH_CHOICE_ERROR TOO_FEW_ERROR TOO_MANY_ERROR
Properties
mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The groups that the constraint belongs to from Const