in src/router/PrefixMatching/PrefixMap.php [45:53]
public static function fromFlatMap(dict<string, T> $map): PrefixMap<T> {
$entries = Vec\map_with_key(
$map,
($pattern, $responder) ==>
tuple(Parser::parse($pattern)->getChildren(), $responder),
);
return self::fromFlatMapImpl($entries);
}