Set options
Parameters: | PatternOptions – |
---|---|
Return type: | CallbackCache |
Throws : | ExceptionInvalidArgumentException if missing storage option |
Call the specified callback or get the result from cache
Parameters: |
|
---|---|
Return type: | mixed Result |
Throws : | ExceptionRuntimeException if invalid cached data |
Throws : | Exception |
function call handler
Parameters: |
|
---|---|
Return type: | mixed |
Throws : | ExceptionRuntimeException |
Throws : | Exception |
Generate a unique key in base of a key representing the callback part and a key representing the arguments part.
Parameters: |
|
---|---|
Return type: | string |
Throws : | ExceptionRuntimeException |
Throws : | ExceptionInvalidArgumentException |
Generate a unique key in base of a key representing the callback part and a key representing the arguments part.
Parameters: |
|
---|---|
Throws ExceptionRuntimeException: | |
if callback not serializable |
|
Throws ExceptionInvalidArgumentException: | |
if invalid callback |
|
Return type: | string |