You are here

PermanentRedisBackendFactory.php in Permanent Cache Bin 8.2

Same filename and directory in other branches
  1. 8 modules/pcb_redis/src/Cache/PermanentRedisBackendFactory.php

File

modules/pcb_redis/src/Cache/PermanentRedisBackendFactory.php
View 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

Namesort descending Description
PermanentRedisBackendFactory Class PermanentMemcacheBackendFactory.