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