Example #1
0
 /**
  * Shortcut to phpFastCache::setup()
  */
 public static function setup($name, $value = '')
 {
     phpFastCache::setup($name, $value);
 }
Example #2
0
 /**
  * @return int
  */
 protected function __setChmodAuto()
 {
     return phpFastCache::__setChmodAuto($this->config);
 }
Example #3
0
 /**
  * Extend expiry time for given key
  *
  * @param string $key  cache identifier
  * @param int    $time time to add
  *
  * @return mixed
  */
 public function extendCacheTime($key = '', $time = 3600)
 {
     return $this->_cache->touch($key, $time);
 }