protected function createPredisDriver(array $config): PredisCachePool
    {
        $client = new PredisClient(\sprintf('tcp:/%s:%s', $config['server'], $config['port']));

        return new PredisCachePool($client);
    }
protected function createPredisDriver(array $config): PredisCachePool
    {
        $client = new PredisClient(\sprintf('tcp:/%s:%s', $config['server'], $config['port']));

        return new PredisCachePool($client);
    }
protected function createPredisDriver ( array $ config ) : PredisCachePool { $ client = new PredisClient ( \ sprintf ( 'tcp:/%s:%s' , $ config [ 'server' ] , $ config [ 'port' ] ) ) ; return new PredisCachePool ( $ client ) ; }
Create an instance of the Predis cache driver.

@param array $config

@return \Cache\Adapter\Predis\PredisCachePool

@codeCoverageIgnore
Create an instance of the Predis cache driver .