Zend\Cache\Pattern\ObjectCache
Synopsis
class ObjectCache
extends CallbackCache
{
- // Inherited members from AbstractPattern
- protected PatternOptions $options;
- // methods
- public void setOptions()
- public mixed call()
- public string generateKey()
- protected string generateCallbackKey()
- public mixed __call()
- public void __set()
- public mixed __get()
- public bool __isset()
- public void __unset()
- public string __toString()
- public mixed __invoke()
- // Inherited methods from CallbackCache
- 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
Tasks
Line | Task |
---|---|
65 | do not cache on errors using [set|restore]_error_handler |
Members
protected
- $options — Zend\Cache\Pattern\PatternOptions
Methods
protected
- generateCallbackKey() — Generate a unique key in base of a key representing the callback part and a key representing the arguments part.
public
- __call() — Class method call handler
- __get() — Reading data from properties.
- __invoke() — Handle invoke calls
- __isset() — Checking existing properties.
- __set() — Writing data to properties.
- __toString() — Handle casting to string
- __unset() — Unseting a property.
- call() — Call and cache a class method
- 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\CallbackCache
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