src/Viserio/Component/Cache/CacheManager.php
protected function createRedisDriver(array $config): RedisCachePool
    {
        $client = new Redis();
        $client->connect($config['host'], $config['port']);

        return new RedisCachePool($client);
    }
protected function createRedisDriver(array $config): RedisCachePool
    {
        $client = new Redis();
        $client->connect($config['host'], $config['port']);

        return new RedisCachePool($client);
    }
Create an instance of the Redis cache driver.

@param array $config

@return \Cache\Adapter\Redis\RedisCachePool

@codeCoverageIgnore