code: public function match(RequestInterface $request) : EndpointInvoker
      {
          foreach ($this->partialRouters as $sub) {
  
              $result = $sub->match($request);
  
              if ($result !== null) {
                  return $result;
              }
          }
  
          throw new RouteNotFoundException('not found');
      }
docs: {@inheritdoc}