class UniqueTagNameValidator extends ConstraintValidator (View source)

Methods

validate(string $value, Constraint $constraint)

No description

testSingleValue(string $value, Constraint $constraint)

No description

bool
tagNameExists(string $name, EntityManager $entityManager)

No description

bool
isMulti($value)

No description

Details

validate(string $value, Constraint $constraint)

Parameters

string $value
Constraint $constraint

protected testSingleValue(string $value, Constraint $constraint)

Parameters

string $value
Constraint $constraint

protected bool tagNameExists(string $name, EntityManager $entityManager)

Parameters

string $name
EntityManager $entityManager

Return Value

bool

protected bool isMulti($value)

Parameters

$value

Return Value

bool