Zend\Cache\Pattern\CallbackCache
Synopsis
class CallbackCache
extends AbstractPattern
{
- // Inherited members from AbstractPattern
- protected PatternOptions $options;
- // methods
- public CallbackCache setOptions()
- public mixed call()
- public mixed __call()
- public string generateKey()
- protected string generateCallbackKey()
- protected string generateArgumentsKey()
- // Inherited methods from AbstractPattern
- public AbstractPattern setOptions()
- public PatternOptions getOptions()
Hierarchy
Extends
Extended by
Tasks
Line | Task |
---|---|
65 | do not cache on errors using [set|restore]_error_handler |
Members
protected
- $options — Zend\Cache\Pattern\PatternOptions
Methods
protected
- generateArgumentsKey() — Generate a unique key of the argument part.
- generateCallbackKey() — Generate a unique key in base of a key representing the callback part and a key representing the arguments part.
public
- __call() — function call handler
- call() — Call the specified callback or get the result from cache
- generateKey() — Generate a unique key in base of a key representing the callback part and a key representing the arguments part.
- setOptions() — Set options
Inherited from Zend\Cache\Pattern\AbstractPattern
public
- getOptions() — Get all pattern options
- setOptions() — Set pattern options