You are here

PermanentMemcacheBackendFactory.php in Permanent Cache Bin 8

File

modules/pcb_memcache/src/Cache/PermanentMemcacheBackendFactory.php
View source
<?php

namespace Drupal\pcb_memcache\Cache;

use Drupal\memcache\MemcacheBackendFactory;

/**
 * Class PermanentMemcacheBackendFactory.
 */
class PermanentMemcacheBackendFactory extends MemcacheBackendFactory {

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

}

Classes

Namesort descending Description
PermanentMemcacheBackendFactory Class PermanentMemcacheBackendFactory.