class UniqueFontVariantValidator extends ConstraintValidator (View source)

Methods

validate($value, Constraint $constraint)

No description

bool
variantExists(Font $font, EntityManager $entityManager)

No description

Details

validate($value, Constraint $constraint)

Parameters

$value
Constraint $constraint

protected bool variantExists(Font $font, EntityManager $entityManager)

Parameters

Font $font
EntityManager $entityManager

Return Value

bool