. */ declare(strict_types=1); namespace Fisharebest\Webtrees; use Fisharebest\Webtrees\Http\RequestHandlers\SubmitterPage; /** * A GEDCOM submitter (SUBM) object. */ class Submitter extends GedcomRecord { public const string RECORD_TYPE = 'SUBM'; protected const string ROUTE_NAME = SubmitterPage::class; /** * Extract names from the GEDCOM record. * * @return void */ public function extractNames(): void { $this->extractNamesFromFacts(1, 'NAME', $this->facts(['NAME'])); } }