MatthiasMullie\Scrapbook\Adapters\Apc::apcu_add PHP Method

apcu_add() protected method

protected apcu_add ( string | string[] $key, mixed $var, integer $ttl ) : boolean | bool[]
$key string | string[]
$var mixed
$ttl integer
return boolean | bool[]
    protected function apcu_add($key, $var, $ttl = 0)
    {
        if (function_exists('apcu_add')) {
            return apcu_add($key, $var, $ttl);
        } else {
            return apc_add($key, $var, $ttl);
        }
    }