<?php

declare(strict_types=1);

namespace WhmcsMigrate\Phases;

interface PhaseInterface
{
    /**
     * Execute the migration phase.
     */
    public function run(): void;

    /**
     * Validate prerequisites before running.
     */
    public function validate(): bool;

    /**
     * Human-readable name for this phase.
     */
    public function getName(): string;

    /**
     * Numeric order of this phase (1-6).
     */
    public function getPhaseNumber(): int;
}
