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

Repository::rememberForever()

mixed rememberForever(string $key, Closure $callback) Get an item from the cache, or store the default value forever. Parameters string $key Closure $callback Return Value mixed

Repository::rememberForever()

mixed rememberForever(string $key, Closure $callback) Get an item from the cache, or store the default value forever. Parameters string $key Closure $callback Return Value mixed

Repository::remember()

mixed remember(string $key, DateTime|float|int $minutes, Closure $callback) Get an item from the cache, or store the default value. Parameters string $key DateTime|float|int $minutes Closure $callback Return Value mixed

Repository::remember()

mixed remember(string $key, DateTime|float|int $minutes, Closure $callback) Get an item from the cache, or store the default value. Parameters string $key DateTime|float|int $minutes Closure $callback Return Value mixed

Repository::putMany()

void putMany(array $values, float|int $minutes) Store multiple items in the cache for a given number of minutes. Parameters array $values float|int $minutes Return Value void

Repository::put()

void put(string $key, mixed $value, DateTime|float|int $minutes) Store an item in the cache. Parameters string $key mixed $value DateTime|float|int $minutes Return Value void

Repository::put()

void put(string $key, mixed $value, DateTime|float|int $minutes = null) Store an item in the cache. Parameters string $key mixed $value DateTime|float|int $minutes Return Value void

Repository::push()

void push(string $key, mixed $value) Push a value onto an array configuration value. Parameters string $key mixed $value Return Value void

Repository::push()

void push(string $key, mixed $value) Push a value onto an array configuration value. Parameters string $key mixed $value Return Value void