Exemplo n.º 1
0
 public function increment($keyName, $value = 1)
 {
     return $this->realCounter->increment($keyName, $value);
 }
Exemplo n.º 2
0
 public static function increment($keyName, $value = 1)
 {
     static::$adapter === null and static::$adapter = static::$di->getShared('counter');
     return static::$adapter->increment($keyName, (int) $value ?: 1);
 }