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