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

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