/** * Retrieve an item from the cache driver. * * @param string $key * @return mixed */ protected function retrieve($key) { if (!is_null($cache = $this->redis->get($key))) { return unserialize($cache); } }