array getRequiredOptions() Returns the name of the required options. Override this method
string getDefaultOption() Returns the name of the default option. Override this method
class UniqueEntity extends Constraint
string validatedBy() The validator must be defined as a service with this name.
class UniqueEntityValidator extends
Classes
string|array getTargets() Returns whether the constraint can be put onto classes, properties
class DoctrineInitializer implements