X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FCache%2FMemcache.php;h=9604e49513b3e1ca825c539881bf4565da35f700;hb=4fd26f71c62960fbbb738a549bb595926f1eb70b;hp=9d223b3d9965282f79c39a13ed34e230fd3050e6;hpb=912a3736c0c169f3d27d9de8495a28983ba9bf4c;p=civicrm-core.git diff --git a/CRM/Utils/Cache/Memcache.php b/CRM/Utils/Cache/Memcache.php index 9d223b3d99..9604e49513 100644 --- a/CRM/Utils/Cache/Memcache.php +++ b/CRM/Utils/Cache/Memcache.php @@ -1,9 +1,9 @@ _cache->set($this->_prefix . $key, $value, FALSE, $this->_timeout)) { return FALSE; @@ -114,15 +120,28 @@ class CRM_Utils_Cache_Memcache { return TRUE; } + /** + * @param $key + * + * @return mixed + */ function &get($key) { $result = $this->_cache->get($this->_prefix . $key); return $result; } + /** + * @param $key + * + * @return mixed + */ function delete($key) { return $this->_cache->delete($this->_prefix . $key); } + /** + * @return mixed + */ function flush() { return $this->_cache->flush(); }