You are here

public function PermanentMemcacheBackendFactory::get in Permanent Cache Bin 8

Same name and namespace in other branches
  1. 8.2 modules/pcb_memcache/src/Cache/PermanentMemcacheBackendFactory.php \Drupal\pcb_memcache\Cache\PermanentMemcacheBackendFactory::get()

File

modules/pcb_memcache/src/Cache/PermanentMemcacheBackendFactory.php, line 15

Class

PermanentMemcacheBackendFactory
Class PermanentMemcacheBackendFactory.

Namespace

Drupal\pcb_memcache\Cache

Code

public function get($bin) {
  return new PermanentMemcacheBackend($bin, $this->memcacheFactory
    ->get($bin), $this->checksumProvider);
}