CacheTool\Proxy\ApcProxy::apc_exists PHP Method

apc_exists() public method

Checks if one or more APC keys exist.
Since: 3.1.4
public apc_exists ( mixed $keys ) : mixed
$keys mixed A string, or an array of strings, that contain keys.
return mixed Returns TRUE if the key exists, otherwise FALSE Or if an array was passed to keys, then an array is returned that contains all existing keys, or an empty array if none exist.
    public function apc_exists($keys)
    {
        $code = new Code();
        $code->addStatement(sprintf('return apc_exists(%s);', var_export($keys, true)));
        return $this->adapter->run($code);
    }