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