public function randomkey() { $this->doExpire(); return array_rand($this->data->getKeys()->toArray()); }