<?php

declare(strict_types=1);

namespace App\Framework\Deployment\Ssl\Events;

use App\Framework\Deployment\Ssl\ValueObjects\DomainName;

/**
 * Event dispatched when an SSL certificate is revoked
 */
final readonly class SslCertificateRevoked
{
    public function __construct(
        public DomainName $domain,
        public string $reason
    ) {}
}
