has(string $class) Returns whether metadata for the given class exists in the cache.
ValidatorInterface
mixed getValue() Returns the value that the validator is currently validating. If you
bool isConstraintValidated(string $cacheKey, string $constraintHash) Returns whether a constraint
ArrayIterator|
string|array getTargets() Returns whether the constraint can be put onto classes, properties
array getRequiredOptions() Returns the name of the required options. Override this method
string|null getClassName() Returns the class name of the current node. If the metadata
bool hasGroupSequence() Returns whether the "Default" group is overridden by a group sequence
addViolation(string $message, array $params = array(), mixed $invalidValue = null, int|null $plural = null, int|null $code = null)
Page 24 of 49