code: public function match(RequestInterface $request) : ?EndpointInvoker
      {
          return $this->matchUri(
              $request->getMethod(),
              $request->getUri()->getPath() ?: '/'
          );
      }
docs: {@inheritdoc}