<?php

declare(strict_types=1);

namespace App\Framework\Deployment\Docker\Events;

use App\Framework\Core\ValueObjects\Duration;
use App\Framework\Filesystem\ValueObjects\FilePath;

/**
 * Compose Deployment Succeeded Event
 *
 * Dispatched when a docker-compose deployment operation completes successfully.
 */
final readonly class ComposeDeploymentSucceeded
{
    public function __construct(
        public FilePath $composeFile,
        public string $operation,
        public Duration $duration,
        public \DateTimeImmutable $timestamp
    ) {}
}
