Stud.IP
6.0
|
Public Member Functions | |
__construct (Cache $actual_cache) | |
expire ($arg) | |
flush () | |
getStats () | |
getItem (string $key) | |
hasItem (string $key) | |
save (CacheItemInterface $item) | |
Public Member Functions inherited from Cache | |
getStats () | |
expire ($arg) | |
flush () | |
getItem (string $key) | |
hasItem (string $key) | |
read ($arg) | |
write ($name, $content, $expires=self::DEFAULT_EXPIRATION) | |
getExpiration (CacheItemInterface $item) | |
getItems (array $keys=[]) | |
clear () | |
deleteItem ($key) | |
deleteItems (array $keys) | |
saveDeferred (CacheItemInterface $item) | |
commit () | |
Static Public Member Functions | |
static | getDisplayName () |
static | getConfig () |
Static Public Member Functions inherited from Cache | |
static | getDisplayName () |
static | getConfig () |
Protected Attributes | |
Cache | $actual_cache |
MemoryCache | $memory_cache |
Protected Attributes inherited from Cache | |
array | $deferred_items = [] |
Additional Inherited Members | |
Data Fields inherited from Cache | |
const | DEFAULT_EXPIRATION = 12 * 60 * 60 |
The cache wrapper wraps a memory cache around another cache. This should reduce the accesses to the actual cache.
__construct | ( | Cache | $actual_cache | ) |
expire | ( | $arg | ) |
flush | ( | ) |
|
static |
|
static |
getItem | ( | string | $key | ) |
getStats | ( | ) |
hasItem | ( | string | $key | ) |
save | ( | CacheItemInterface | $item | ) |
|
protected |
|
protected |