X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FCache%2FMemcache.php;h=142ea03593a4f69a517990f2b7c6cefc345d8b62;hb=24f8127938dec80960d388e50fd5b89aa450b494;hp=9d223b3d9965282f79c39a13ed34e230fd3050e6;hpb=8960f050bc875db30ec426da1c95a281e5d2bb50;p=civicrm-core.git diff --git a/CRM/Utils/Cache/Memcache.php b/CRM/Utils/Cache/Memcache.php index 9d223b3d99..142ea03593 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(); }