<?php

declare(strict_types=1);

namespace App\Framework\Deployment\Pipeline\Events;

use App\Framework\Deployment\Pipeline\ValueObjects\PipelineId;
use App\Framework\Deployment\Pipeline\ValueObjects\PipelineStage;

/**
 * Stage Started Event
 *
 * Dispatched when a pipeline stage begins execution.
 */
final readonly class StageStarted
{
    public function __construct(
        public PipelineId $pipelineId,
        public PipelineStage $stage,
        public \DateTimeImmutable $timestamp
    ) {}
}
