Exemplo n.º 1
0
 /**
  * Get the cached user data for the given id.
  *
  * @param string $id
  *
  * @return mixed
  */
 public function get($id)
 {
     return $this->hash->get($id);
 }
Exemplo n.º 2
0
 /**
  * Make the stores stop using the pipeline and run commands directly on the server.
  *
  * @return void
  */
 protected function closePipeline()
 {
     $this->set->resetStore();
     $this->hash->resetStore();
     $this->sorted->resetStore();
 }