<?php

declare(strict_types=1);

namespace App\Framework\Router;

use App\Framework\Http\Request;

interface Router
{
    /**
     * Match a request to a route
     *
     * @param Request $request
     * @return RouteContext
     */
    public function match(Request $request): RouteContext;
}
