ManaPHP\Counter::decrement PHP Метод

decrement() публичный Метод

Decrements the value of key by a given step.
public decrement ( string $type, string $id, integer $step = 1 ) : integer
$type string
$id string
$step integer
Результат integer the new value
    public function decrement($type, $id, $step = 1)
    {
        return $this->adapter->increment($this->_prefix . $type, $id, -$step);
    }