context->buildViolation($constraint->message) // ->setParameter('%string%', $value) // ->addViolation(); // } } }