hasher->isValid($value)) { $this->context->buildViolation($constraint->message)->addViolation(); } } }