. */ declare(strict_types=1); namespace Fisharebest\Webtrees; use Fisharebest\Webtrees\Http\RequestHandlers\HeaderPage; /** * A GEDCOM header (HEAD) object. */ class Header extends GedcomRecord { public const string RECORD_TYPE = 'HEAD'; protected const string ROUTE_NAME = HeaderPage::class; /** * Extract names from the GEDCOM record. * * @return void */ public function extractNames(): void { $this->getAllNames[] = [ 'type' => static::RECORD_TYPE, 'sort' => I18N::translate('Header'), 'full' => I18N::translate('Header'), 'fullNN' => I18N::translate('Header'), ]; } }