<?php

declare(strict_types=1);

namespace App\Framework\Mail;

interface TransportInterface
{
    /**
     * Send a message using this transport.
     */
    public function send(Message $message): TransportResult;

    /**
     * Check if the transport is available and configured properly.
     */
    public function isAvailable(): bool;

    /**
     * Get transport name for debugging/logging.
     */
    public function getName(): string;
}
