value; } /** * Bootstrap label class for the status badge in lists. */ public function getLabelClass(): string { return match ($this) { self::New => 'label-default', self::Todo => 'label-info', self::InProgress => 'label-warning', self::Done => 'label-success', }; } }