示例#1
0
 /**
  * @return mixed
  */
 public function deleteAll()
 {
     return $this->adapter->deleteAll();
 }
 public function key($key, $app_id, $group = null)
 {
     return (isset($this->options['namespace']) ? $this->options['namespace'] . '/' : '') . parent::key($key, $app_id . $group);
 }
 /**
  *
  * @param string $key Key name
  * @param string $app_id Application ID
  * @param string|bool $group
  * @return string
  */
 public function key($key, $app_id, $group = null)
 {
     $key = parent::key($key, $app_id, $group);
     return $this->options["prefix"] . $key;
 }