Beta version

class UniqueEntityValidator extends ConstraintValidator

Unique Entity Validator checks if one or a set of fields contain unique values.

Methods

validate(object $entity, Constraint $constraint)

No description

Details

at line 58
validate(object $entity, Constraint $constraint)

Parameters

object $entity
Constraint $constraint

Exceptions

UnexpectedTypeException
ConstraintDefinitionException