src/Factory/DoctrineMemcacheFactory.php
public function getAdapter(array $config)
    {
        $memcache = new Memcache();
        $memcache->connect($config['host'], $config['port']);

        $client = new MemcacheCache();
        $client->setMemcache($memcache);

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

        $client = new MemcacheCache();
        $client->setMemcache($memcache);

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