src/Factory/DoctrineMemcachedFactory.php
public function getAdapter(array $config)
    {
        $memcached = new Memcached();
        $memcached->addServer($config['host'], $config['port']);

        $client = new MemcachedCache();
        $client->setMemcached($memcached);

        return new DoctrineCachePool($client);
    }
public function getAdapter(array $config)
    {
        $memcached = new Memcached();
        $memcached->addServer($config['host'], $config['port']);

        $client = new MemcachedCache();
        $client->setMemcached($memcached);

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