Elgg
Version 1.11
|
Public Member Functions | |
__construct (Stash\Pool $stash) | |
Constructor. More... | |
get ($key, callable $callback) | |
invalidate ($key) | |
put ($key, $value) | |
Static Public Member Functions | |
static | createEphemeral () |
Create an in-memory implementation of the pool. More... | |
Definition at line 17 of file StashPool.php.
Elgg\Cache\StashPool::__construct | ( | Stash\Pool | $stash | ) |
Constructor.
Stash\Pool | $stash | The Stash instance to be decorated. |
Definition at line 27 of file StashPool.php.
|
static |
Create an in-memory implementation of the pool.
Definition at line 69 of file StashPool.php.
Elgg\Cache\StashPool::get | ( | $key, | |
callable | $callback | ||
) |
Implements Elgg\Cache\Pool.
Definition at line 32 of file StashPool.php.
Elgg\Cache\StashPool::invalidate | ( | $key | ) |
Implements Elgg\Cache\Pool.
Definition at line 51 of file StashPool.php.
Elgg\Cache\StashPool::put | ( | $key, | |
$value | |||
) |
Implements Elgg\Cache\Pool.
Definition at line 58 of file StashPool.php.