class UniqueNodeNameValidator extends ConstraintValidator (View source)

Methods

validate($value, Constraint $constraint)

No description

bool
urlAliasExists(string $name, EntityManager $entityManager)

No description

bool
nodeNameExists(string $name, EntityManager $entityManager)

No description

Details

validate($value, Constraint $constraint)

Parameters

$value
Constraint $constraint

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

Parameters

string $name
EntityManager $entityManager

Return Value

bool

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

Parameters

string $name
EntityManager $entityManager

Return Value

bool