Elgg
Version 1.11
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
Elgg
Cache
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
}
Elgg\Cache\NullPool\invalidate
invalidate($key)
Definition:
NullPool.php:24
Elgg\Cache\NullPool\put
put($key, $value)
Definition:
NullPool.php:29
$value
$value
Definition:
longtext.php:26
$key
$key
Definition:
summary.php:34
Elgg\Cache
Definition:
LRUCache.php:2
Elgg\Cache\Pool
Definition:
Pool.php:19
Elgg\Cache\NullPool
Definition:
NullPool.php:17
Generated on Sat Dec 21 2024 00:00:49 for Elgg by
1.8.11