Lines Matching refs:Fact
23 use Fisharebest\Webtrees\Fact; alias
74 $facts = $tags->map(fn (string $tag): Fact => $this->createNewFact($dummy, $tag));
76 return Fact::sortFacts($facts);
91 $facts = $tags->map(fn (string $tag): Fact => $this->createNewFact($dummy, $tag));
92 $sex_fact = new Collection([new Fact('1 SEX ' . $sex, $dummy, '')]);
93 …$name_facts = Collection::make($names)->map(static fn (string $gedcom): Fact => new Fact($gedcom, …
95 return $sex_fact->concat($name_facts)->concat(Fact::sortFacts($facts));
102 * @return Fact
104 private function createNewFact(GedcomRecord $record, string $tag): Fact
110 return new Fact($gedcom, $record, '');
190 * @param Fact $fact
195 public function insertMissingFactSubtags(Fact $fact, bool $include_hidden): string