Ejemplo n.º 1
0
 /**
  * 移除并返回列表key的尾元素
  * 当key不存在时,返回nil
  * @param unknown $key
  */
 public function rPop($key)
 {
     return $this->redis->rPop($key);
 }
Ejemplo n.º 2
0
 /**
  * 移除并返回列表 key 的尾元素
  * @param string $key
  */
 public function rPop($key = '')
 {
     return $this->cacheWrite->rPop($key);
 }