column, $field->getName().'Localized', $field->nullable); } public function description(): string { return "The formatted string value of the {$this->field->getName()} field"; } public function baseType(): Type { return Type::string(); } /** * Resolve the field. */ public function resolve(mixed $root, array $args, $context, ResolveInfo $resolveInfo): mixed { return Arr::get($root, $this->column)?->localize(); } public function canBeDisplayed(): bool { return true; } }