value; } /** * The Bootstrap class of the status label in the tables (the program's Status column). */ public function getLabelClass(): string { return match ($this) { self::Active => 'label-success', self::Completed => 'label-info', self::Paused => 'label-warning', self::Archived => 'label-default', self::Draft, self::Planned => 'label-primary', }; } }