*/ public static function values(): Collection { return collect(static::cases())->map(fn ($case) => $case->value); } /** * @return array */ public static function forSelect(): array { return array_map(fn ($case) => ['id' => $case->value, 'name' => $case->value], static::cases()); } }