X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FCache%2FAPCcache.php;h=cfa49286b946bdf480187efec22c43ca9c437ead;hb=4fd26f71c62960fbbb738a549bb595926f1eb70b;hp=361f970d24c8c492977057a95ef45dc1e75d607d;hpb=feb07870854e6e0081670f2fe33faf579b737eba;p=civicrm-core.git diff --git a/CRM/Utils/Cache/APCcache.php b/CRM/Utils/Cache/APCcache.php index 361f970d24..cfa49286b9 100644 --- a/CRM/Utils/Cache/APCcache.php +++ b/CRM/Utils/Cache/APCcache.php @@ -1,9 +1,9 @@ _prefix . $key, $value, $this->_timeout)) { return FALSE; @@ -77,10 +83,20 @@ class CRM_Utils_Cache_APCcache { return TRUE; } + /** + * @param $key + * + * @return mixed + */ function &get($key) { return apc_fetch($this->_prefix . $key); } + /** + * @param $key + * + * @return bool|string[] + */ function delete($key) { return apc_delete($this->_prefix . $key); }