__call()
call()
generateKey()
getOptions()
setOptions()
generateArgumentsKey()
generateCallbackKey()
$options
__call(string $function, array $args) : mixed
string
Function name to call
array
Function arguments
\Zend\Cache\Exception\RuntimeException |
|
---|---|
\Exception |
mixed
call(\Zend\Cache\Pattern\callable $callback, array $args) : mixed
\Zend\Cache\Pattern\callable
A valid callback
array
Callback arguments
\Zend\Cache\Exception\RuntimeException |
if invalid cached data |
---|---|
\Exception |
mixed
ResultgenerateKey(\Zend\Cache\Pattern\callable $callback, array $args) : string
\Zend\Cache\Pattern\callable
A valid callback
array
Callback arguments
\Zend\Cache\Exception\RuntimeException |
|
---|---|
\Zend\Cache\Exception\InvalidArgumentException |
string
getOptions() : \Zend\Cache\Pattern\PatternOptions
inherited_from | \Zend\Cache\Pattern\AbstractPattern::getOptions() |
---|
setOptions(\Zend\Cache\Pattern\PatternOptions $options) : \Zend\Cache\Pattern\CallbackCache
\Zend\Cache\Pattern\PatternOptions
\Zend\Cache\Exception\InvalidArgumentException |
if missing storage option |
---|
generateArgumentsKey(array $args) : string
generateCallbackKey(\Zend\Cache\Pattern\callable $callback, array $args) : string
\Zend\Cache\Pattern\callable
A valid callback
array
Callback arguments
\Zend\Cache\Exception\RuntimeException |
if callback not serializable |
---|---|
\Zend\Cache\Exception\InvalidArgumentException |
if invalid callback |
string