Kevinrob\GuzzleCache\Strategy\PrivateCacheStrategy::getCacheKey PHP Method

getCacheKey() protected method

protected getCacheKey ( Psr\Http\Message\RequestInterface $request ) : string
$request Psr\Http\Message\RequestInterface
return string
    protected function getCacheKey(RequestInterface $request)
    {
        return hash('sha256', $request->getMethod() . $request->getUri());
    }