MediaWiki
1.28.0
|
A MemoizedCallable subclass that stores function return values in an instance property rather than APC or APCu. More...
Protected Member Functions | |
fetchResult ($key, &$success) | |
storeResult ($key, $result) | |
Protected Member Functions inherited from MemoizedCallable | |
fetchResult ($key, &$success) | |
Fetch the result of a previous invocation from APC or APCu. More... | |
storeResult ($key, $result) | |
Store the result of an invocation in APC or APCu. More... | |
Private Attributes | |
$cache = [] | |
Additional Inherited Members | |
Public Member Functions inherited from MemoizedCallable | |
__construct ($callable, $ttl=3600) | |
Constructor. More... | |
invoke () | |
Invoke the memoized function or method. More... | |
invokeArgs (array $args=[]) | |
Invoke the memoized function or method. More... | |
Static Public Member Functions inherited from MemoizedCallable | |
static | call ($callable, array $args=[], $ttl=3600) |
Shortcut method for creating a MemoizedCallable and invoking it with the specified arguments. More... | |
A MemoizedCallable subclass that stores function return values in an instance property rather than APC or APCu.
Definition at line 6 of file MemoizedCallableTest.php.
|
protected |
Definition at line 9 of file MemoizedCallableTest.php.
|
protected |
Definition at line 18 of file MemoizedCallableTest.php.
References cache.
|
private |
Definition at line 7 of file MemoizedCallableTest.php.