/webtrees/app/Module/ |
H A D | ModuleMapAutocompleteTrait.php | 60 return $cache->remember($key, function () use ($place) { 78 $cache->remember($key, fn () => [], 3600);
|
H A D | AbstractModule.php | 83 … ->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 D | SiteMapModule.php | 193 $content = Registry::cache()->file()->remember('sitemap.xml', function (): string { 286 …$content = Registry::cache()->file()->remember($cache_key, function () use ($tree, $type, $page): …
|
H A D | ModuleMapGeoLocationTrait.php | 69 return $cache->remember($key, function () use ($place) {
|
H A D | MediaTabModule.php | 127 …return Registry::cache()->array()->remember(self::class . ':' . __METHOD__, static function () use…
|
H A D | ModuleCustomTrait.php | 97 …return Registry::cache()->file()->remember($this->name() . '-latest-version', function (): string {
|
/webtrees/app/ |
H A D | PlaceLocation.php | 81 … return Registry::cache()->array()->remember('location-' . $this->location_name, function () { 144 return Registry::cache()->array()->remember('location-details-' . $this->id(), function () {
|
H A D | Cache.php | 53 public function remember(string $key, Closure $closure, int|null $ttl = null) function in Fisharebest\\Webtrees\\Cache
|
H A D | Place.php | 116 return Registry::cache()->array()->remember('place-' . $this->place_name, function (): int {
|
/webtrees/app/Factories/ |
H A D | AbstractGedcomRecordFactory.php | 51 ->remember(self::class . $tree->id(), static fn (): Collection => DB::table('change')
|
H A D | HeaderFactory.php | 43 …return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () u…
|
H A D | IndividualFactory.php | 49 …return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () u…
|
H A D | NoteFactory.php | 43 …return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () u…
|
H A D | SubmitterFactory.php | 43 …return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () u…
|
H A D | SharedNoteFactory.php | 43 …return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () u…
|
H A D | SubmissionFactory.php | 43 …return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () u…
|
H A D | MediaFactory.php | 43 …return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () u…
|
H A D | SourceFactory.php | 43 …return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () u…
|
H A D | LocationFactory.php | 43 …return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () u…
|
H A D | RepositoryFactory.php | 44 …return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () u…
|
H A D | FamilyFactory.php | 50 …return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () u…
|
H A D | GedcomRecordFactory.php | 89 …Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () use ($xr…
|
H A D | ImageFactory.php | 212 …$data = Registry::cache()->file()->remember(key: $key, closure: $closure, ttl: static::THUMBNAIL_C…
|
/webtrees/app/Services/ |
H A D | TreeService.php | 79 return Registry::cache()->array()->remember('all-trees', static function (): Collection {
|
H A D | UserService.php | 51 ->remember('user-' . $user_id, static fn (): User|null => DB::table('user')
|