<?php

declare(strict_types=1);

namespace App\Framework\Router;

use App\Framework\Http\Status;

final readonly class GenericActionResult implements ActionResult
{
    private function __construct(
        public ResultType $resultType,
        public string $template,
        public array $data = [],
        public Status $status = Status::OK,
        #public string $layout = '',
        public array $slots = [],
        public ?string $controllerClass = null
    ) {}
}
