class PermanentMemcacheBackendFactory in Permanent Cache Bin 8
Same name and namespace in other branches
- 8.2 modules/pcb_memcache/src/Cache/PermanentMemcacheBackendFactory.php \Drupal\pcb_memcache\Cache\PermanentMemcacheBackendFactory
Class PermanentMemcacheBackendFactory.
Hierarchy
- class \Drupal\pcb_memcache\Cache\PermanentMemcacheBackendFactory extends \Drupal\memcache\MemcacheBackendFactory
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
File
- modules/
pcb_memcache/ src/ Cache/ PermanentMemcacheBackendFactory.php, line 10
Namespace
Drupal\pcb_memcache\CacheView source
class PermanentMemcacheBackendFactory extends MemcacheBackendFactory {
/**
* {@inheritdoc}
*/
public function get($bin) {
return new PermanentMemcacheBackend($bin, $this->memcacheFactory
->get($bin), $this->checksumProvider);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PermanentMemcacheBackendFactory:: |
public | function | Gets MemcacheBackend for the specified cache bin. |