PermanentRedisBackendFactory.php in Permanent Cache Bin 8
Same filename and directory in other branches
Namespace
Drupal\pcb_redis\CacheFile
modules/pcb_redis/src/Cache/PermanentRedisBackendFactory.phpView source
<?php
namespace Drupal\pcb_redis\Cache;
use Drupal\redis\Cache\CacheBackendFactory;
/**
* Class PermanentMemcacheBackendFactory.
*/
class PermanentRedisBackendFactory extends CacheBackendFactory {
/**
* {@inheritdoc}
*/
public function get($bin) {
return new PermanentRedisBackend($bin, $this->clientFactory
->getClient(), $this->checksumProvider, $this->serializer);
}
}
Classes
Name | Description |
---|---|
PermanentRedisBackendFactory | Class PermanentMemcacheBackendFactory. |