Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
Pool.php
Go to the documentation of this file.
1 <?php
2 namespace Elgg\Cache;
3 
19 interface Pool {
29  public function get($key, callable $callback = null, $default = null);
30 
42  public function invalidate($key);
43 
56  public function put($key, $value);
57 }
put($key, $value)
Prime the cache to a specific value.
$value
Definition: longtext.php:26
$default
Definition: checkbox.php:35
$key
Definition: summary.php:34
invalidate($key)
Forcefully invalidates the value associated with the given key.