protected function createMemcachedDriver(array $config): MemcachedCachePool
    {
        $client = new Memcached();
        $client->addServer($config['host'], $config['port']);

        return new MemcachedCachePool($client);
    }
protected function createMemcachedDriver(array $config): MemcachedCachePool
    {
        $client = new Memcached();
        $client->addServer($config['host'], $config['port']);

        return new MemcachedCachePool($client);
    }
protected function createMemcachedDriver ( array $ config ) : MemcachedCachePool { $ client = new Memcached ( ) ; $ client -> addServer ( $ config [ 'host' ] , $ config [ 'port' ] ) ; return new MemcachedCachePool ( $ client ) ; }
Create an instance of the Memcached cache driver.

@param array $config

@return \Cache\Adapter\Memcached\MemcachedCachePool

@codeCoverageIgnore
Create an instance of the Memcached cache driver .