public function retrieve($key)
    {
      // Get value by key
      $value = $this->redis->get($key);

      if($value === false)
        return null;

      return $value;
    }
public function retrieve($key)
    {
      // Get value by key
      $value = $this->redis->get($key);

      if($value === false)
        return null;

      return $value;
    }
public function retrieve ( $ key ) { // Get value by key $ value = $ this -> redis -> get ( $ key ) ; if ( $ value === false ) return null ; return $ value ; }
Retrieve value from redis server

@param string $key
@return string
Retrieve value from redis server