A MemoizedCallable subclass that stores function return values in an instance property rather than APC or APCu.
More...
|
| fetchResult ( $key, &$success) |
| Fetch the result of a previous invocation from APC or APCu.
|
|
| storeResult ( $key, $result) |
| Store the result of an invocation in APC or APCu.
|
|
|
| __construct ( $callable, $ttl=3600) |
|
| invoke () |
| Invoke the memoized function or method.
|
|
| invokeArgs (array $args=[]) |
| Invoke the memoized function or method.
|
|
static | call ( $callable, array $args=[], $ttl=3600) |
| Shortcut method for creating a MemoizedCallable and invoking it with the specified arguments.
|
|
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.
◆ fetchResult()
ArrayBackedMemoizedCallable::fetchResult |
( |
| $key, |
|
|
& | $success ) |
|
protected |
◆ storeResult()
ArrayBackedMemoizedCallable::storeResult |
( |
| $key, |
|
|
| $result ) |
|
protected |
◆ $cache
ArrayBackedMemoizedCallable::$cache = [] |
|
private |
The documentation for this class was generated from the following file: