class UniqueNodeTypeFieldNameValidator extends ConstraintValidator (View source)

Methods

validate($value, Constraint $constraint)

No description

bool
nameExists(string $name, $nodeType, EntityManager $entityManager)

No description

Details

validate($value, Constraint $constraint)

Parameters

$value
Constraint $constraint

protected bool nameExists(string $name, $nodeType, EntityManager $entityManager)

Parameters

string $name
$nodeType
EntityManager $entityManager

Return Value

bool