Commit d34f8486 authored by Qiang Xue's avatar Qiang Xue

Fixes #811.

parent f941bfee
......@@ -20,6 +20,16 @@ namespace yii\caching;
*/
class ApcCache extends Cache
{
/**
* Checks the existence of a key in APC cache.
* @param string $key the key to be checked.
* @return boolean if the key exists or not
*/
public function keyExists($key)
{
return apc_exists($key);
}
/**
* Retrieves a value from cache with a specified key.
* This is the implementation of the method declared in the parent class.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment