src/Comely/IO/Cache/Cache.php
public function countDown(string $key, int $dec = 1): int
    {
        $this->checkConnection(__METHOD__);
        return $this->engine->countDown($key, $dec);
    }
public function countDown(string $key, int $dec = 1): int
    {
        $this->checkConnection(__METHOD__);
        return $this->engine->countDown($key, $dec);
    }
public function countDown ( string $ key , int $ dec = 1 ) : int { $ this -> checkConnection ( __METHOD__ ) ; return $ this -> engine -> countDown ( $ key , $ dec ) ; }
Decrease stored integer value
If key doesn't already exist, a new key will be created with value 0 before decrement

@param string $key
@param int $dec
@return int
@throws CacheException
@throws EngineException
Decrease stored integer value If key doesn t already exist a new key will be created with value 0 before decrement