Lines Matching refs:gedcom
43 * @param string|null $gedcom
47 public function make(string $xref, Tree $tree, string|null $gedcom = null): Individual|null argument
49 …rray()->remember(self::class . $xref . '@' . $tree->id(), function () use ($xref, $tree, $gedcom) {
50 $gedcom ??= $this->gedcom($xref, $tree);
53 … if ($gedcom === null && ($pending === null || !preg_match(self::TYPE_CHECK_REGEX, $pending))) {
56 $xref = $this->extractXref($gedcom ?? $pending, $xref);
58 return $this->new($xref, $gedcom ?? '', $pending, $tree);
78 * @param string $gedcom an empty string for new/pending records
85 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Individual argument
87 return new Individual($xref, $gedcom, $pending, $tree);
98 protected function gedcom(string $xref, Tree $tree): string|null function in Fisharebest\\Webtrees\\Factories\\IndividualFactory