class UniqueEmailValidator extends ConstraintValidator (View source)

Methods

validate($value, Constraint $constraint)

No description

bool
emailExists($email, EntityManager $entityManager)

No description

Details

validate($value, Constraint $constraint)

Parameters

$value
Constraint $constraint

protected bool emailExists($email, EntityManager $entityManager)

Parameters

$email
EntityManager $entityManager

Return Value

bool