Elgg  Version 1.11
Pool.php
Go to the documentation of this file.
1 <?php
2 namespace Elgg\Cache;
3 
19 interface Pool {
28  public function get($key, callable $callback);
29 
41  public function invalidate($key);
42 
55  public function put($key, $value);
56 }
put($key, $value)
Prime the cache to a specific value.
$value
Definition: longtext.php:26
$key
Definition: summary.php:34
invalidate($key)
Forcefully invalidates the value associated with the given key.