public function __construct(Memcache $memcached) { parent::__construct(new \Doctrine\Common\Cache\MemcacheCache()); $this->provider->setMemcache($memcached); }
public function __construct(Client $client) { parent::__construct(new \Doctrine\Common\Cache\PredisCache($client)); }
public function __construct(Bucket $bucket) { parent::__construct(new \Doctrine\Common\Cache\RiakCache($bucket)); }
public function __construct() { parent::__construct(new \Doctrine\Common\Cache\CouchbaseCache()); }
public function __construct(SQLite3 $sqlite, $table) { parent::__construct(new \Doctrine\Common\Cache\SQLite3Cache($sqlite, $table)); }
public function __construct(MongoCollection $collection) { parent::__construct(new \Doctrine\Common\Cache\MongoDBCache($collection)); }