<?php

declare(strict_types=1);

namespace App\Framework\Core;

use App\Framework\Router\ValueObjects\ParameterCollection;

interface Route
{
    public string $controller {get;}

    public string $action {get;}

    public array $parameters {get;}

    public string $name {get;}

    public string $path {get;}

    public array $attributes {get;}

    /**
     * Get type-safe parameter collection (preferred over legacy $parameters array)
     */
    public function getParameterCollection(): ParameterCollection;
}
