private function generateCacheKeyForRequest(RequestInterface $request)
    {
        $normalizedRequest = $this->getNormalizedRequest($request);

        return md5($normalizedRequest->__toString());
    }
private function generateCacheKeyForRequest(RequestInterface $request)
    {
        $normalizedRequest = $this->getNormalizedRequest($request);

        return md5($normalizedRequest->__toString());
    }
private function generateCacheKeyForRequest ( RequestInterface $ request ) { $ normalizedRequest = $ this -> getNormalizedRequest ( $ request ) ; return md5 ( $ normalizedRequest -> __toString ( ) ) ; }
Generate a unique key for the given request

The request is made invariant by sorting the headers alphabetically and by
removing headers that are to be ignored.

@see CachedClient::__construct()

@param \Buzz\Message\RequestInterface $request
@return string
Generate a unique key for the given request