<?php

declare(strict_types=1);

namespace App\Framework\Router\Result;

use App\Framework\Router\ActionResult;

final readonly class ContentNegotiationResult implements ActionResult
{
    public function __construct(
        public array $jsonPayload = [],
        public ?string $redirectTo = null,
        public ?string $viewTemplate = null,
        public array $viewData = [],
    ) {
    }
}
