예제 #1
0
 public function reset($keyName)
 {
     $this->cache->save($this->prefix . $keyName, 0);
 }
예제 #2
0
 public static function set($key, $value, $ttl = null)
 {
     static::$cache === null and static::$cache = static::$di->getShared('cache');
     static::$cache->save($key, $value, $ttl);
 }