value}"); } public function getColor(): string { return match ($this) { self::Adopt => 'success', self::Trial => 'info', self::Assess => 'warning', self::Hold => 'danger', }; } /** @return array */ public static function options(): array { return collect(self::cases()) ->mapWithKeys(fn (self $case) => [$case->value => $case->getLabel()]) ->all(); } }