Repository::__construct()

void __construct(Store $store) Create a new cache repository instance. Parameters Store $store Return Value void

Repository::__clone()

void __clone() Clone cache repository instance. Return Value void

Repository::__callStatic()

static mixed __callStatic(string $method, array $parameters) Dynamically handle calls to the class. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException

Repository::__call()

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

Repository::tags()

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

Repository::setEventDispatcher()

void setEventDispatcher(Dispatcher $events) Set the event dispatcher instance. Parameters Dispatcher $events Return Value void

Repository::setDefaultCacheTime()

void setDefaultCacheTime(float|int $minutes) Set the default cache time in minutes. Parameters float|int $minutes Return Value void

Repository::set()

void set(array|string $key, mixed $value = null) Set a given configuration value. Parameters array|string $key mixed $value Return Value void

Repository::set()

void set(array|string $key, mixed $value = null) Set a given configuration value. Parameters array|string $key mixed $value Return Value void

Repository::sear()

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