uid) { $api_key = $this->redis->hget('user:' . $this->uid, 'api'); } return array('api_key' => $api_key); } } ?>