You are here

Cache.php in AmazonS3 7.2

Namespace

Drupal\amazons3

File

src/Cache.php
View source
<?php

namespace Drupal\amazons3;

use Capgemini\Cache\DrupalDoctrineCache;

/**
 * Cache configured to cache in the cache_amazons3_metadata bin.
 *
 * @class Cache
 * @package Drupal\amazons3
 */
class Cache extends DrupalDoctrineCache {

  /**
   * @const Represent a permanent cache item.
   */
  const CACHE_PERMANENT = 0;

  /**
   * Override __construct() to set the cache bin.
   */
  function __construct() {
    $this
      ->setCacheTable('cache_amazons3_metadata');
  }

}

Classes

Namesort descending Description
Cache Cache configured to cache in the cache_amazons3_metadata bin.