void __construct(Store $store) Create a new cache repository instance. Parameters Store $store Return Value void
void __clone() Clone cache repository instance. Return Value void
static mixed __callStatic(string $method, array $parameters) Dynamically handle calls to the class. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException
mixed __call(string $method, array $parameters) Handle dynamic calls into macros or pass missing methods to the store. Parameters string $method array $parameters Return Value mixed
TaggedCache tags(array|mixed $names) Begin executing a new tags operation if the store supports it. Parameters array|mixed $names Return Value TaggedCache Exceptions BadMethodCallException
void setEventDispatcher(Dispatcher $events) Set the event dispatcher instance. Parameters Dispatcher $events Return Value void
void setDefaultCacheTime(float|int $minutes) Set the default cache time in minutes. Parameters float|int $minutes Return Value void
void set(array|string $key, mixed $value = null) Set a given configuration value. Parameters array|string $key mixed $value Return Value void
mixed sear(string $key, Closure $callback) Get an item from the cache, or store the default value forever. Parameters string $key Closure $callback Return Value mixed
Page 260 of 996