<?php

declare(strict_types=1);

namespace App\Support\Badges\Domains;

use App\Support\Badges\BadgeCatalog;
use App\Support\Badges\BadgeMapper;
use App\Support\Badges\BadgeSpec;

final class TenantStatusBadge implements BadgeMapper
{
    public function spec(mixed $value): BadgeSpec
    {
        return BadgeCatalog::tenantLifecyclePresentation($value)->badge();
    }
}
