<?php

declare(strict_types=1);

namespace App\Framework\Router\Result;

use App\Framework\Http\Status;
use App\Framework\Router\ActionResult;

/**
 * HTML Result for raw HTML content
 *
 * Used when a controller needs to return raw HTML content
 * instead of using a template engine.
 */
final readonly class HtmlResult implements ActionResult
{
    public function __construct(
        public string $content,
        public Status $status = Status::OK,
    ) {
    }
}
