Exemplo n.º 1
0
 public function __construct(Memcache $memcached)
 {
     parent::__construct(new \Doctrine\Common\Cache\MemcacheCache());
     $this->provider->setMemcache($memcached);
 }
Exemplo n.º 2
0
 public function __construct(Client $client)
 {
     parent::__construct(new \Doctrine\Common\Cache\PredisCache($client));
 }
Exemplo n.º 3
0
 public function __construct(Bucket $bucket)
 {
     parent::__construct(new \Doctrine\Common\Cache\RiakCache($bucket));
 }
Exemplo n.º 4
0
 public function __construct()
 {
     parent::__construct(new \Doctrine\Common\Cache\CouchbaseCache());
 }
Exemplo n.º 5
0
 public function __construct(SQLite3 $sqlite, $table)
 {
     parent::__construct(new \Doctrine\Common\Cache\SQLite3Cache($sqlite, $table));
 }
Exemplo n.º 6
0
 public function __construct(MongoCollection $collection)
 {
     parent::__construct(new \Doctrine\Common\Cache\MongoDBCache($collection));
 }