CacheGetOrFail
Last updated
Was this helpful?
Last updated
Was this helpful?
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}.
id
string
true
The cache id to retrieve
cacheName
string
false
The cache name to retrieve the id from, defaults to {@code default}
default