Home
last modified time | relevance | path

Searched refs:Closure (Results 1 – 25 of 40) sorted by relevance

12

/webtrees/app/Services/
H A DSearchService.php22 use Closure; alias
1026 * @param Closure $row_mapper Converts a row from the query into a record.
1027 * @param Closure $row_filter
1033 …private function paginateQuery(Builder $query, Closure $row_mapper, Closure $row_filter, int $offs…
1138 * @return Closure(GedcomRecord):bool
1140 private function rawGedcomFilter(array $search_terms): Closure
1165 * @return Closure():void
1167 private function rowLimiter(int $limit = self::MAX_SEARCH_RESULTS): Closure
1183 * @return Closure(object):Family
1185 private function familyRowMapper(): Closure
[all …]
H A DModuleService.php22 use Closure; alias
539 * @return Closure(ModuleInterface):string
541 public function titleMapper(): Closure
737 * @return Closure(ModuleInterface):bool
739 private function enabledFilter(bool $include_disabled): Closure
751 * @return Closure(ModuleInterface):bool
753 private function interfaceFilter(string $interface): Closure
761 * @return Closure(ModuleFooterInterface,ModuleFooterInterface):int
763 private function footerComparator(): Closure
771 * @return Closure(ModuleMenuInterface,ModuleMenuInterface):int
[all …]
H A DDatatablesService.php22 use Closure; alias
47 * @param Closure $callback Converts a row-object to an array-of-columns.
51 …est, Collection $collection, array $search_columns, array $sort_columns, Closure $callback): Respo…
123 * @param Closure $callback Converts a row-object to an array-of-columns.
127 …ce $request, Builder $query, array $search_columns, array $sort_columns, Closure $callback): Respo…
H A DUserService.php22 use Closure; alias
135 * @return Closure(UserInterface,UserInterface):int
137 public function sortByLastLogin(): Closure
154 * @return Closure(UserInterface):bool
156 public function filterInactive(int $timestamp): Closure
/webtrees/app/
H A DRelationship.php22 use Closure; alias
59 private Closure $callback;
65 * @param Closure $callback
67 private function __construct(Closure $callback)
89 * @param Closure $callback
93 public static function dynamic(Closure $callback): Relationship
H A DValidator.php23 use Closure; alias
282 $callback = static fn (array|null $value, Closure $rule): array|null => $rule($value);
303 $callback = static fn (?float $value, Closure $rule): float|null => $rule($value);
336 $callback = static fn (int|null $value, Closure $rule): int|null => $rule($value);
377 $callback = static fn (string|null $value, Closure $rule): string|null => $rule($value);
H A DCache.php22 use Closure; alias
48 * @param Closure(): T $closure
53 public function remember(string $key, Closure $closure, int|null $ttl = null)
H A DGedcomRecord.php22 use Closure; alias
116 * @return Closure(GedcomRecord):bool
118 public static function accessFilter(): Closure
126 * @return Closure(GedcomRecord,GedcomRecord):int
128 public static function nameComparator(): Closure
152 * @return Closure(GedcomRecord,GedcomRecord):int
154 public static function lastChangeComparator(int $direction = 1): Closure
/webtrees/app/Contracts/
H A DSourceFactoryInterface.php22 use Closure; alias
41 * @return Closure(object):Source
43 public function mapper(Tree $tree): Closure;
H A DHeaderFactoryInterface.php22 use Closure; alias
41 * @return Closure(object):Header
43 public function mapper(Tree $tree): Closure;
H A DLocationFactoryInterface.php22 use Closure; alias
41 * @return Closure(object):Location
43 public function mapper(Tree $tree): Closure;
H A DSubmitterFactoryInterface.php22 use Closure; alias
41 * @return Closure(object):Submitter
43 public function mapper(Tree $tree): Closure;
H A DGedcomRecordFactoryInterface.php22 use Closure; alias
54 * @return Closure(object):GedcomRecord
56 public function mapper(Tree $tree): Closure;
H A DRepositoryFactoryInterface.php22 use Closure; alias
41 * @return Closure(object):Repository
43 public function mapper(Tree $tree): Closure;
H A DSharedNoteFactoryInterface.php22 use Closure; alias
41 * @return Closure(object):SharedNote
43 public function mapper(Tree $tree): Closure;
H A DFamilyFactoryInterface.php22 use Closure; alias
41 * @return Closure(object):Family
43 public function mapper(Tree $tree): Closure;
H A DSubmissionFactoryInterface.php22 use Closure; alias
41 * @return Closure(object):Submission
43 public function mapper(Tree $tree): Closure;
H A DMediaFactoryInterface.php22 use Closure; alias
41 * @return Closure(object):Media
43 public function mapper(Tree $tree): Closure;
H A DNoteFactoryInterface.php22 use Closure; alias
41 * @return Closure(object):Note
43 public function mapper(Tree $tree): Closure;
H A DIndividualFactoryInterface.php22 use Closure; alias
41 * @return Closure(object):Individual
43 public function mapper(Tree $tree): Closure;
/webtrees/app/Factories/
H A DHeaderFactory.php22 use Closure; alias
62 * @return Closure(object):Header
64 public function mapper(Tree $tree): Closure
H A DIndividualFactory.php22 use Closure; alias
67 * @return Closure(object):Individual
69 public function mapper(Tree $tree): Closure
H A DNoteFactory.php22 use Closure; alias
62 * @return Closure(object):Note
64 public function mapper(Tree $tree): Closure
H A DSubmitterFactory.php22 use Closure; alias
62 * @return Closure(object):Submitter
64 public function mapper(Tree $tree): Closure
H A DSharedNoteFactory.php22 use Closure; alias
62 * @return Closure(object):SharedNote
64 public function mapper(Tree $tree): Closure

12