trait CacheTrait

Properties

static string $cacheStoreKey Key of the singleton holding the cache handler.

Methods

mixed
cache(string $key, Closure $value)

Helper to retrieve data from cache store.

Details

at line 31
protected mixed cache(string $key, Closure $value)

Helper to retrieve data from cache store.

Parameters

string $key
Closure $value

Return Value

mixed

Exceptions

NotFoundException
InvalidArgumentException