/** * Optimized getMany with Redis mget method * * @param array $keys * @access public * @return array */ public function getMany($keys) { $cache_keys = array_map(array($this, 'getKey'), $keys); return array_combine($keys, $this->redis->getMultiple($cache_keys)); }