'tabler-circle-dashed', self::Successful => 'tabler-circle-check', self::Failed => 'tabler-circle-x', }; } public function getColor(): string { return match ($this) { self::InProgress => 'primary', self::Successful => 'success', self::Failed => 'danger', }; } public function getLabel(): string { return str($this->value)->headline(); } }