addViolation(string $message, array $params = array(), mixed $invalidValue = null, int|null $plural = null, int|null $code = null)
Adds a violation at the current node of the validation graph.
Note: the parameters $invalidValue, $plural and $code are deprecated since version 2.5 and will be removed in 3.0.
Please login to continue.