Lines Matching refs:gedcom
44 * @param string|null $gedcom
48 public function make(string $xref, Tree $tree, string|null $gedcom = null): Family|null argument
50 …rray()->remember(self::class . $xref . '@' . $tree->id(), function () use ($xref, $tree, $gedcom) {
51 $gedcom ??= $this->gedcom($xref, $tree);
54 … if ($gedcom === null && ($pending === null || !preg_match(self::TYPE_CHECK_REGEX, $pending))) {
58 $xref = $this->extractXref($gedcom ?? $pending, $xref);
61 …preg_match_all('/\n1 (?:HUSB|WIFE|CHIL) @(' . Gedcom::REGEX_XREF . ')@/', $gedcom . "\n" . $pendin…
68 return $this->new($xref, $gedcom ?? '', $pending, $tree);
88 * @param string $gedcom an empty string for new/pending records
95 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Family argument
97 return new Family($xref, $gedcom, $pending, $tree);
108 protected function gedcom(string $xref, Tree $tree): string|null function in Fisharebest\\Webtrees\\Factories\\FamilyFactory