get($constraint->sourceFieldName)->isEmpty()) { $this->context->addViolation($constraint->message); } } }