'Aktif', self::INACTIVE => 'Tidak Aktif', }; } public function getColor(): string|array|null { return match ($this) { self::ACTIVE => 'success', self::INACTIVE => 'danger', }; } public static function options(): array { return collect(self::cases()) ->mapWithKeys(fn ($case) => [$case->value => $case->getLabel()]) ->toArray(); } }