<?php
declare(strict_types=1);

namespace App\Framework\Router\Result;

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

final readonly class ViewResult implements ActionResult
{
    public function __construct(
        public string $template,
        public MetaData $metaData,
        public array $data = [],
        public Status $status = Status::OK,
        #public string $layout = '',
        public array $slots = [],
        public ?string $controllerClass = null,
        public ?object $model = null,
    ) {}

    /*public static function fromStrings():self
    {

    }*/
}
