Elgg
Version 2.3
|
An in-memory implementation of a cache pool. More...
Public Member Functions | |
get ($key, callable $callback=null, $default=null) | |
invalidate ($key) | |
put ($key, $value) | |
An in-memory implementation of a cache pool.
NB: Data put into this cache is not persisted between requests.
WARNING: API IN FLUX. DO NOT USE DIRECTLY.
private
Definition at line 18 of file InMemory.php.
Elgg\Cache\Pool\InMemory::get | ( | $key, | |
callable | $callback = null , |
||
$default = null |
|||
) |
Implements Elgg\Cache\Pool.
Definition at line 25 of file InMemory.php.
Elgg\Cache\Pool\InMemory::invalidate | ( | $key | ) |
Implements Elgg\Cache\Pool.
Definition at line 38 of file InMemory.php.
Elgg\Cache\Pool\InMemory::put | ( | $key, | |
$value | |||
) |
Implements Elgg\Cache\Pool.
Definition at line 45 of file InMemory.php.