Elgg  Version 1.11
NullPool.php
Go to the documentation of this file.
1 <?php
2 namespace Elgg\Cache;
3 
17 final class NullPool implements Pool {
19  public function get($key, callable $callback) {
20  return call_user_func($callback);
21  }
22 
24  public function invalidate($key) {
25  // values are always expired, so nothing to do
26  }
27 
29  public function put($key, $value) {
30  // values are always expired, so nothing to do
31  }
32 }
put($key, $value)
Definition: NullPool.php:29
$value
Definition: longtext.php:26
$key
Definition: summary.php:34