Searched refs:ttl (Results 1 – 5 of 5) sorted by relevance
49 * @param int|null $ttl53 public function remember(string $key, Closure $closure, int|null $ttl = null) argument55 … return $this->cache->get(md5($key), static function (ItemInterface $item) use ($closure, $ttl) {56 $item->expiresAfter($ttl);
57 $ttl = 86400;74 }, $ttl);
67 $ttl = 86400;83 }, $ttl);
212 …$data = Registry::cache()->file()->remember(key: $key, closure: $closure, ttl: static::THUMBNAIL_C…
808 …message: '#^Parameter \$ttl of method Fisharebest\\Webtrees\\Cache\:\:remember\(\) expects int\|nu…