<?php key(array|object $array): int|string|null
<?php $keyValuePair = $callback(); $value = reset($keyValuePair); $expiration = Carbon::now()->addMinutes(key($keyValuePair)); return Cache::remember($cacheKey, $expiration, function () use ($value) { return $value;