Decrements the value of an integer cached key

@param string $key Identifier for the data
@param int $offset How much to subtract
@return bool|int New decremented value, false otherwise
967709
public function decrement($key, $offset = 1)
    {
        $key = $this->_key($key);

        return $this->_Memcached->decrement($key, $offset);
    }
669200
public function decrement($key, $val = 1)
    {
        return apc_dec($this->conf['prefix'] . $key, abs(intval($val)));
    }
1215685
public function decrement($key, $value = 1)
    {
        $this->store->decrement($this->itemKey($key), $value);
    }
952330
public function decrement($key, $offset=1, $initial_value=0, $expiry=0) {
		CacheFactory::getCache()->decrement($key, $offset, $initial_value, $expiry);
	}
559903
public function decrement($column, int $decrement = 1): int
	{
		return $this->update([$column => new Raw($this->compiler->escapeIdentifier($column) . ' - ' . (int) $decrement)]);
	}
53746
public function increment($id, $offset = 1)
	{
		$data = $this->_get($id);

		if ($data === FALSE)
		{
			$data = array('data' => 0, 'ttl' => 60);
		}
		elseif ( ! is_int($data['data']))
		{
			return FALSE;
		}

		$new_value = $data['data'] + $offset;
		return $this->save($id, $new_value, $data['ttl'])
			? $new_value
			: FALSE;
	}
565875
public function decrement($key, $step = 1)
    {
        if (!$this->enabled)
            return false;

        $has_replaced = $has_set = false;
        try {
            // Store the cache object
            $nKey = $this->key($key);
            $has_set = @$this->getConnection()->decrement($nKey, $step);

        } catch (Exception $e) {
            throw new CacheException($e->getMessage(), $e->getCode());
        }

        $this->Logger->debug("". (($has_replaced || $has_set) ? "Successfully" : "Failed to") . " decrement key '{$key}'\n");
//        $this->Logger->debug($data);

        return $has_set;

    }
1233700
public function decrement($key, $offset=1) {
        return $this->getMemcache()->decrement($this->buildKey($key), $offset);
    }
970859
public function increment($key, $offset=1, $initial_value=0, $expiry=0) {
		CacheFactory::getCache()->increment($key, $offset, $initial_value, $expiry);
	}
539542
public function offsetUnset($offset)
    {
        $keys = explode($this->keySeparator, $offset);

        $keyCount = count($keys);

        $array = &$this->values;

        while ($keyCount > 1) {
            $key = array_shift($keys);

            if (isset($array[$key]) && is_array($array[$key])) {
                $array = &$array[$key];
            }

            --$keyCount;
        }

        unset($array[array_shift($keys)]);
    }
956396
public function decrement($key, $decvalue = 1) {
        $used_key = $this->getUsedKey($key);
        $val = $this->get($key);
        if ($val === null || !is_numeric($val) || !is_numeric($decvalue)) {
            return false;
        }
        if (intval($val) == $val) {
            return $this->redis->decr($used_key, intval($decvalue));
        }
        else { // float values
            $result = intval($val)-intval($decvalue);
            if ($this->redis->set($used_key, $result)) {
                return $result;
            }
            return false;
        }
    }
1111395
public function increment($key, $offset = 1)
    {
        $key = $this->_key($key);

        return wincache_ucache_inc($key, $offset);
    }
83498
public function decrement($key, $value = 1, $expiration = 0)
    {
        $new = intval($this->get($key));
        $new -= $value;
        $this->set($key, $new, $expiration);
    }
17905
public function decrement($key, $steps = 1)
    {
        $previous = $this->has($key) ? $this->get($key) : 0;
        $previous -= $steps;
        $this->put($key, $previous);

        return $previous;
    }
420592
public function decrement($key, $value = 1)
    {
        $this->pushStandardKeys($this->tags->getNamespace(), $key);

        parent::decrement($key, $value);
    }
67308
protected function setKey($key)
    {
        // If a handler switches key, we need to decrement the counter for the old
        // key, and increment the counter for the new key.
        $this->removeKey();

        // Set the new key, and increment the counter appropriately.
        $this->key = $key;
        if (isset($key)) {
            static::$keys[$key] = isset(static::$keys[$key]) ? static::$keys[$key] + 1 : 1;
        }
    }
1159954
public function decrement($key, $steps = 1)
    {
        $key = "integer-store::$key";

        if (!isset($this->cache[$key])) {
            $this->cache[$key] = 0;
        }

        $this->cache[$key] -= $steps;

        return $this->cache[$key];
    }