public function getCache($cache)
    {
        $cache = self::encodeCache($cache);
        $url = "projects/{$this->project_id}/caches/$cache";
        $this->setJsonHeaders();
        return self::json_decode($this->apiCall(self::GET, $url));
    }
public function getCache($cache)
    {
        $cache = self::encodeCache($cache);
        $url = "projects/{$this->project_id}/caches/$cache";
        $this->setJsonHeaders();
        return self::json_decode($this->apiCall(self::GET, $url));
    }
public function getCache ( $ cache ) { $ cache = self :: encodeCache ( $ cache ) ; $ url = "projects/{$this->project_id}/caches/$cache" ; $ this -> setJsonHeaders ( ) ; return self :: json_decode ( $ this -> apiCall ( self :: GET , $ url ) ) ; }
Get information about cache.
Also returns cache size.

@param string $cache
@return mixed
Get information about cache . Also returns cache size .