router
1<?php declare(strict_types=1);
2
3namespace Upside\Router;
4
5final readonly class Matched
6{
7public Route $route;
8public array $params;
9
10public function __construct(Route $route, array $params = [])
11{
12$this->route = $route;
13$this->params = $params;
14}
15}
16