pcb-8.x-2.2/modules/pcb_redis/src/Cache/PermanentRedisBackend.php

modules/pcb_redis/src/Cache/PermanentRedisBackend.php
<?php

namespace Drupal\pcb_redis\Cache;

use Drupal\redis\Cache\PhpRedis;
use Drupal\pcb\Cache\PermanentBackendInterface;
use Drupal\pcb\Cache\PermanentBackendTrait;

/**
 * Defines a permanent Redis cache implementation.
 *
 * {@inheritdoc}
 */
class PermanentRedisBackend extends PhpRedis implements PermanentBackendInterface {

  use PermanentBackendTrait;

  /**
   * {@inheritdoc}
   */
  public function removeBin() {
    parent::deleteAll();
  }

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc