1b4a2f885SGreg Roach<?php 2b4a2f885SGreg Roach 3b4a2f885SGreg Roach/** 4b4a2f885SGreg Roach * webtrees: online genealogy 5*d11be702SGreg Roach * Copyright (C) 2023 webtrees development team 6b4a2f885SGreg Roach * This program is free software: you can redistribute it and/or modify 7b4a2f885SGreg Roach * it under the terms of the GNU General Public License as published by 8b4a2f885SGreg Roach * the Free Software Foundation, either version 3 of the License, or 9b4a2f885SGreg Roach * (at your option) any later version. 10b4a2f885SGreg Roach * This program is distributed in the hope that it will be useful, 11b4a2f885SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of 12b4a2f885SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13b4a2f885SGreg Roach * GNU General Public License for more details. 14b4a2f885SGreg Roach * You should have received a copy of the GNU General Public License 1589f7189bSGreg Roach * along with this program. If not, see <https://www.gnu.org/licenses/>. 16b4a2f885SGreg Roach */ 17b4a2f885SGreg Roach 18b4a2f885SGreg Roachdeclare(strict_types=1); 19b4a2f885SGreg Roach 20b4a2f885SGreg Roachnamespace Fisharebest\Webtrees\Contracts; 21b4a2f885SGreg Roach 22b4a2f885SGreg Roach/** 23b4a2f885SGreg Roach * Make an XREF. 24b4a2f885SGreg Roach */ 25b4a2f885SGreg Roachinterface XrefFactoryInterface 26b4a2f885SGreg Roach{ 27b4a2f885SGreg Roach /** 28b4a2f885SGreg Roach * Create a new XREF. 29b4a2f885SGreg Roach * 30b4a2f885SGreg Roach * @param string $record_type 31b4a2f885SGreg Roach * 32b4a2f885SGreg Roach * @return string 33b4a2f885SGreg Roach */ 34b4a2f885SGreg Roach public function make(string $record_type): string; 35b4a2f885SGreg Roach} 36