CI_Cache::decrement PHP Method

decrement() public method

Decrement a raw value
public decrement ( string $id, integer $offset = 1 ) : mixed
$id string Cache ID
$offset integer Step/value to reduce by
return mixed New value on success or FALSE on failure
    public function decrement($id, $offset = 1)
    {
        return $this->{$this->_adapter}->decrement($this->key_prefix . $id, $offset);
    }