field = $field; return $this; } /** * @param ?int $value */ public function present($value): string { if ($value === -1) { return $this->field->emptyOptionValue; } if (!$value) { return ''; } return Group::find($value)?->display() ?: ''; } }