write(ClassMetadata $metadata)
mixed getValue() Returns the value that the validator is currently validating. If you
class BlackHoleMetadataFactory implements
mixed getInvalidValue() Returns the value that caused the violation.
int getCascadingStrategy() Class nodes are never cascaded. {@inheritdoc}
string getGroup() Returns the validation group that is currently being validated.
class Regex extends Constraint
addViolation(string $message, array $parameters = array()) Adds a violation at the current node of
string getDefaultOption() Returns the name of the default option. Override this method
Page 39 of 49