src/Jira/Api/Client/MemcacheProxyClient.php
protected function setCache($url, array $data, $endpoint, $result)
	{
		$key = $endpoint . $url;
		$key .= http_build_query($data);
		$key = sha1($key);

		return $this->mc->set('jira:cache:' . $key, $result, 86400);
	}
protected function setCache($url, array $data, $endpoint, $result)
	{
		$key = $endpoint . $url;
		$key .= http_build_query($data);
		$key = sha1($key);

		return $this->mc->set('jira:cache:' . $key, $result, 86400);
	}
protected function setCache ( $ url , array $ data , $ endpoint , $ result ) { $ key = $ endpoint . $ url ; $ key .= http_build_query ( $ data ) ; $ key = sha1 ( $ key ) ; return $ this -> mc -> set ( 'jira:cache:' . $ key , $ result , 86400 ) ; }
Sets data into cache.

@param string $url      URL.
@param array  $data     Data.
@param string $endpoint Endpoint.
@param mixed  $result   Result.

@return boolean
Sets data into cache .