Zend\Cache\Pattern\CallbackCache::call
Call the specified callback or get the result from cache
Signature
public function call(callable
$callback,
array
$args )
Parameters
$callback
— object- A valid callback
$args
— array- Callback arguments
Returns
- mixed
- Result
Errors/Exceptions
-
RuntimeException
- if invalid cached data
-
Exception
Line | Task |
---|---|
65 | do not cache on errors using [set|restore]_error_handler |