src/ClientBase.php
function buildCacheKey($method, $resource, $url, $headers = array(), $query = array()) {
        return md5($method . $resource . $url . json_encode($query) . json_encode($headers));
    }
function buildCacheKey($method, $resource, $url, $headers = array(), $query = array()) {
        return md5($method . $resource . $url . json_encode($query) . json_encode($headers));
    }
function buildCacheKey ( $ method , $ resource , $ url , $ headers = array ( ) , $ query = array ( ) ) { return md5 ( $ method . $ resource . $ url . json_encode ( $ query ) . json_encode ( $ headers ) ) ; }
Return a unique key for the query.
@param $method
@param $resource
@param $url
@param array $query
@param array $headers
@return string
Return a unique key for the query .