public function resolve()

in src/router/PrefixMatchingResolver.php [30:40]


  public function resolve(
    HttpMethod $method,
    string $path,
  ): (TResponder, dict<string, string>) {
    $map = $this->map[$method] ?? null;
    if ($map === null) {
      throw new NotFoundException();
    }

    return $this->resolveWithMap($path, $map);
  }