'Publik', self::COMPANY => 'Perusahaan', }; } public function getColor(): string|array|null { return match ($this) { self::PUBLIC => 'info', self::COMPANY => 'warning', }; } public static function options(): array { return collect(self::cases()) ->mapWithKeys(fn ($case) => [$case->value => $case->getLabel()]) ->toArray(); } }