class Cache in AmazonS3 7.2
Cache configured to cache in the cache_amazons3_metadata bin.
@class Cache @package Drupal\amazons3
Hierarchy
- class \Drupal\amazons3\Cache extends \Capgemini\Cache\DrupalDoctrineCache
Expanded class hierarchy of Cache
1 file declares its use of Cache
- CacheTest.php in tests/
CacheTest.php
File
- src/
Cache.php, line 13
Namespace
Drupal\amazons3View source
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');
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Cache:: |
constant | @const Represent a permanent cache item. | ||
Cache:: |
function | Override __construct() to set the cache bin. |