Decrement the data

@param  string $id
@param  int $value
@return bool
422989
public function dec($id, $value = 1) {
		$id = $this->prepareId($id);
		
		return $this->getBackend()->dec($id, $value);
	}
84227
public function reverseCharge(string $idType, string $value)
    {
        if ($this->exists) {
            return $this->service->reverseCharge($idType ?? 'customerOrder', $value);
        }
        return false;
    }
1148281
public static function setCurrentID($id)
    {
        if (array_key_exists($id, self::$instances)) {
            self::$id = $id;

            return true;
        }

        return false;
    }
584279
public function incrementRateLimitData($id, $increment = 1)
	{
		$sql = "UPDATE `#__developer_rate_limit`
				SET `count_short` = `count_short` + " . $this->db->quote($increment) . ",
				`count_long` = `count_long` + " . $this->db->quote($increment) . "
				WHERE `id` = " . $this->db->quote($id);
		$this->db->setQuery($sql);
		return $this->db->query();
	}
442280
public function inc($id, $value = 1) {
		if (! $this->connectionCheckStatus) {
			$this->addServer();
		}
		
		$id     = $this->prepareId($id);
		$result = $this->getClient()->increment($id, $value);
		
		if ($result === false && $this->operationsExceptions) {
			throw new OperationFailed('Incrementing of the data in the cache failed, ID: "' . $id . '"');
		}
		
		return $result;
	}
267355
public function decrement($key, $value = 1)
    {
        return $this->connection()->decrby($this->prefix.$key, $value);
    }
892252
public function update($id, $key, $value=null)
     {
         $model =  $this->model->find($id);

         if (is_array($key))
             $model->update($key);
         else
             $model->{$key}= $value;

         $model->save();
     }
292969
public function increment($key, $value = 1)
    {
        if ($integer = $this->get($key)) {
            $this->put($key, $integer + $value, 0);

            return $integer + $value;
        }

        $this->put($key, $value, 0);

        return $value;
    }
197660
public function dec($property, $value = 1) {
		if (isset($this->_data[$property])) {
			$this->_data[$property] -= $value;
		} else {
			$this->_data[$property] =- $value;
		}
		
		$this->_changed[$property] = true;
		
		return $this->_data[$property];
	}
850677
public function endsWith($value): bool
    {
        if ($this->count() <= 0) {
            return false;
        }

        $lastValue = $this->list[$this->count() - 1];

        return ($lastValue == $value);
    }
1269925
public function decrement($key, $value = 1)
    {
        return $this->redisServer->getHashClient($key)->decrBy($key, $value);
    }
875681
public boolean removeInt(final int value)
    {
        @DoNotSub final int index = indexOf(value);
        if (-1 != index)
        {
            remove(index);

            return true;
        }

        return false;
    }
585416
public function decrement($key, $offset = 1)
    {
        if (!$this->read($key)) {
            $this->write($key, 0);
        }
        $key = $this->_key($key);
        $this->data[$key]['val'] -= $offset;

        return $this->data[$key]['val'];
    }
944106
public function deleteCustomerById($id): bool
    {
        $record = CustomerRecord::findOne($id);

        if ($record) {
            return (bool)$record->delete();
        }

        return false;
    }
698877
public function remove($id)
    {
        if ($this->locked) {
            return false;
        }

        if (strpos($id, '.') !== false) {
            $k = '$this->data' . "['" . str_replace('.', "']['", $id) . "']";
            eval('$has = isset(' . $k . ');');
            if ($has) {
                eval('unset(' . $k . ');');
                return true;
            } else {
                return false;
            }
        } elseif ($this->has($id)) {
            unset($this->data[$id]);
            return true;
        } else {
            return false;
        }
    }
1353395
public function setId($value)
    {
        $this->_validateNotNull('Id', $value);
        $this->_validateInt('Id', $value);

        if ($this->data['id'] === $value) {
            return;
        }

        $this->data['id'] = $value;

        $this->_setModified('id');
    }
692456
public function set($id, $value) {
		// Format id
		$id = $this->_format($id);
		// Instantiate value
		if(!($value instanceof Value)) {
			$value = new Value($value);
		}
		// Set value
		if(isset($id)) {
			if(!isset($this->values[$id])) {
				$this->values[$id] = $value;
			}
			else {
				$this->values[$id]->setValue($value);
			}
		}
		else {
			$this->values[] = $value;
		}
	}