Psr7Middlewares\Middleware\Cache::getCacheKey PHP Method

getCacheKey() private method

Returns the id used to cache a request.
private getCacheKey ( Psr\Http\Message\RequestInterface $request ) : string
$request Psr\Http\Message\RequestInterface
return string
    private function getCacheKey(RequestInterface $request)
    {
        return $request->getMethod() . md5((string) $request->getUri());
    }