<?php

declare(strict_types=1);

namespace App\Services\SupportCenter;

/**
 * 更新失败后的中文恢复指引（不含技术堆栈或异常类名）。
 */
final readonly class HostSystemUpdateRecoveryGuidance
{
    /**
     * @param  list<string>  $steps
     */
    public function __construct(
        public string $title,
        public array $steps,
        public bool $suggestTerminalUpdate,
    ) {}

    public function isEmpty(): bool
    {
        return $this->steps === [];
    }
}
