You are here

class PermanentMemcacheBackendFactory in Permanent Cache Bin 8.2

Same name and namespace in other branches
  1. 8 modules/pcb_memcache/src/Cache/PermanentMemcacheBackendFactory.php \Drupal\pcb_memcache\Cache\PermanentMemcacheBackendFactory

Class PermanentMemcacheBackendFactory.

Hierarchy

Expanded class hierarchy of PermanentMemcacheBackendFactory

1 string reference to 'PermanentMemcacheBackendFactory'
pcb_memcache.services.yml in modules/pcb_memcache/pcb_memcache.services.yml
modules/pcb_memcache/pcb_memcache.services.yml
1 service uses PermanentMemcacheBackendFactory
cache.backend.permanent_memcache in modules/pcb_memcache/pcb_memcache.services.yml
Drupal\pcb_memcache\Cache\PermanentMemcacheBackendFactory

File

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

Namespace

Drupal\pcb_memcache\Cache
View source
class PermanentMemcacheBackendFactory extends MemcacheBackendFactory {

  /**
   * {@inheritdoc}
   */
  public function get($bin) {
    return new PermanentMemcacheBackend($bin, $this->memcacheFactory
      ->get($bin), $this->checksumProvider, $this->timestampInvalidator);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
PermanentMemcacheBackendFactory::get public function Gets MemcacheBackend for the specified cache bin.