UniqueEntity

UniqueEntity

class UniqueEntity extends Constraint

Constraint for the Unique Entity validator.

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.

NOT_UNIQUE_ERROR

Properties

mixed $payload Dom