<?php

namespace App\Framework\Router;

final readonly class CompiledPattern
{
    /**
     * @param string $regex Kombinierter Regex
     * @param array<int, array{route: object, paramMap: array<string, int>}> $routes
     */
    public function __construct(
        public string $regex,
        public array $routes
    ) {}
}
