src/Factory/DoctrineRedisFactory.php
public function getAdapter(array $config)
    {
        $redis = new \Redis();
        $redis->connect($config['host'], $config['port']);

        $client = new RedisCache();
        $client->setRedis($redis);

        return new DoctrineCachePool($client);
    }
public function getAdapter(array $config)
    {
        $redis = new \Redis();
        $redis->connect($config['host'], $config['port']);

        $client = new RedisCache();
        $client->setRedis($redis);

        return new DoctrineCachePool($client);
    }
{@inheritdoc}