CacheGetOrFail
Get an item from the cache, it will throw an exception if the id is not found in the cache.
By default, the {@code cacheName} is set to {@code default}.
Method Signature
CacheGetOrFail(id=[string], cacheName=[string])
Arguments
Argument
Type
Required
Description
Default
id
string
true
The cache id to retrieve
cacheName
string
false
The cache name to retrieve the id from, defaults to {@code default}
default
Examples
Related
Last updated
Was this helpful?