source/php/Helper/Curl.php
public function createCacheKey($type, $url, $data = null, $contentType = 'json', $headers = null)
    {
        $this->cacheKey = "curl_cache_".md5($type.$url.(is_array($data) ? implode($data, "") : $data).$contentType.(is_array($headers) ? implode($headers, "") : $headers));
        return $this->cacheKey;
    }
public function createCacheKey($type, $url, $data = null, $contentType = 'json', $headers = null)
    {
        $this->cacheKey = "curl_cache_".md5($type.$url.(is_array($data) ? implode($data, "") : $data).$contentType.(is_array($headers) ? implode($headers, "") : $headers));
        return $this->cacheKey;
    }
public function createCacheKey ( $ type , $ url , $ data = null , $ contentType = 'json' , $ headers = null ) { $ this -> cacheKey = "curl_cache_" . md5 ( $ type . $ url . ( is_array ( $ data ) ? implode ( $ data , "" ) : $ data ) . $ contentType . ( is_array ( $ headers ) ? implode ( $ headers , "" ) : $ headers ) ) ; return $ this -> cacheKey ; }
Create Cache key
@param  string $type        Request type
@param  string $url         Request url
@param  array $data         Request data
@param  string $contentType Content type
@param  array $headers      Request headers
@return string              The cache key
Create Cache key