value; public function getLabel(): ?string { return translate($this->name); } public function getColor(): string | array | null { return match ($this) { self::Open => 'primary', self::Active => 'success', self::Inactive => 'gray', self::Restricted => 'warning', self::Closed => 'danger', }; } public function getIcon(): ?string { return match ($this) { self::Open => 'heroicon-o-currency-dollar', self::Active => 'heroicon-o-clock', self::Inactive => 'heroicon-o-status-offline', self::Restricted => 'heroicon-o-exclamation', self::Closed => 'heroicon-o-x-circle', }; } }