Elgg
Version 2.3
|
Defers to Stash for the meat of the caching logic. More...
Public Member Functions | |
__construct (Stash\Pool $stash) | |
Constructor. More... | |
get ($key, callable $callback=null, $default=null) | |
invalidate ($key) | |
put ($key, $value) | |
Static Public Member Functions | |
static | createEphemeral () |
Create an in-memory implementation of the pool. More... | |
Defers to Stash for the meat of the caching logic.
WARNING: API IN FLUX. DO NOT USE DIRECTLY.
private
Definition at line 17 of file StashWrapper.php.
Elgg\Cache\Pool\StashWrapper::__construct | ( | Stash\Pool | $stash | ) |
Constructor.
Stash\Pool | $stash | The Stash instance to be decorated. |
Definition at line 27 of file StashWrapper.php.
|
static |
Create an in-memory implementation of the pool.
Definition at line 73 of file StashWrapper.php.
Elgg\Cache\Pool\StashWrapper::get | ( | $key, | |
callable | $callback = null , |
||
$default = null |
|||
) |
Implements Elgg\Cache\Pool.
Definition at line 32 of file StashWrapper.php.
Elgg\Cache\Pool\StashWrapper::invalidate | ( | $key | ) |
Implements Elgg\Cache\Pool.
Definition at line 55 of file StashWrapper.php.
Elgg\Cache\Pool\StashWrapper::put | ( | $key, | |
$value | |||
) |
Implements Elgg\Cache\Pool.
Definition at line 62 of file StashWrapper.php.