Home
last modified time | relevance | path

Searched refs:remember (Results 1 – 25 of 103) sorted by relevance

12345

/webtrees/app/Module/
H A DModuleMapAutocompleteTrait.php60 return $cache->remember($key, function () use ($place) {
78 $cache->remember($key, fn () => [], 3600);
H A DAbstractModule.php83 … ->remember('block-setting-' . $block_id, static fn (): array => DB::table('block_setting')
218 …->remember('module-privacy-' . $tree->id(), static fn (): Collection => DB::table('module_privacy')
H A DSiteMapModule.php193 $content = Registry::cache()->file()->remember('sitemap.xml', function (): string {
286 …$content = Registry::cache()->file()->remember($cache_key, function () use ($tree, $type, $page): …
H A DModuleMapGeoLocationTrait.php69 return $cache->remember($key, function () use ($place) {
H A DMediaTabModule.php127 …return Registry::cache()->array()->remember(self::class . ':' . __METHOD__, static function () use…
H A DModuleCustomTrait.php97 …return Registry::cache()->file()->remember($this->name() . '-latest-version', function (): string {
/webtrees/app/
H A DPlaceLocation.php81 … return Registry::cache()->array()->remember('location-' . $this->location_name, function () {
144 return Registry::cache()->array()->remember('location-details-' . $this->id(), function () {
H A DCache.php53 public function remember(string $key, Closure $closure, int|null $ttl = null) function in Fisharebest\\Webtrees\\Cache
H A DPlace.php116 return Registry::cache()->array()->remember('place-' . $this->place_name, function (): int {
/webtrees/app/Factories/
H A DAbstractGedcomRecordFactory.php51 ->remember(self::class . $tree->id(), static fn (): Collection => DB::table('change')
H A DHeaderFactory.php43 …return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () u…
H A DIndividualFactory.php49 …return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () u…
H A DNoteFactory.php43 …return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () u…
H A DSubmitterFactory.php43 …return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () u…
H A DSharedNoteFactory.php43 …return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () u…
H A DSubmissionFactory.php43 …return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () u…
H A DMediaFactory.php43 …return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () u…
H A DSourceFactory.php43 …return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () u…
H A DLocationFactory.php43 …return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () u…
H A DRepositoryFactory.php44 …return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () u…
H A DFamilyFactory.php50 …return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () u…
H A DGedcomRecordFactory.php89 …Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () use ($xr…
H A DImageFactory.php212 …$data = Registry::cache()->file()->remember(key: $key, closure: $closure, ttl: static::THUMBNAIL_C…
/webtrees/app/Services/
H A DTreeService.php79 return Registry::cache()->array()->remember('all-trees', static function (): Collection {
H A DUserService.php51 ->remember('user-' . $user_id, static fn (): User|null => DB::table('user')

12345