src/Factory/DoctrineMongodDBFactory.php
public function getAdapter(array $config)
    {
        $mongo = new MongoClient();
        $collection = $mongo->selectCollection($config['host'], $config['collection']);

        return new DoctrineCachePool(new MongoDBCache($collection));
    }
public function getAdapter(array $config)
    {
        $mongo = new MongoClient();
        $collection = $mongo->selectCollection($config['host'], $config['collection']);

        return new DoctrineCachePool(new MongoDBCache($collection));
    }
{@inheritdoc}