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