Stud.IP
6.1
|
Public Member Functions | |
expire ($arg) | |
flush () | |
getStats () | |
getItem (string $key) | |
hasItem (string $key) | |
save (CacheItemInterface $item) | |
![]() | |
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 | getDisplayName () |
static | getConfig () |
Protected Attributes | |
array | $memory_cache = [] |
![]() | |
array | $deferred_items = [] |
Additional Inherited Members | |
![]() | |
const | DEFAULT_EXPIRATION = 12 * 60 * 60 |
The php memory implementation of the StudipCache interface.
expire | ( | $arg | ) |
Expires just a single key.
string | $arg | the key |
flush | ( | ) |
Expire all items from the cache.
|
static |
|
static |
getItem | ( | string | $key | ) |
getStats | ( | ) |
hasItem | ( | string | $key | ) |
save | ( | CacheItemInterface | $item | ) |
|
protected |