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