xref: /webtrees/app/Module/ModuleHistoricEventsInterface.php (revision 3ee4c7ef16663dd8419c69876f7c40ed549d5490)
117c50b57SGreg Roach<?php
23976b470SGreg Roach
317c50b57SGreg Roach/**
417c50b57SGreg Roach * webtrees: online genealogy
5d11be702SGreg Roach * Copyright (C) 2023 webtrees development team
617c50b57SGreg Roach * This program is free software: you can redistribute it and/or modify
717c50b57SGreg Roach * it under the terms of the GNU General Public License as published by
817c50b57SGreg Roach * the Free Software Foundation, either version 3 of the License, or
917c50b57SGreg Roach * (at your option) any later version.
1017c50b57SGreg Roach * This program is distributed in the hope that it will be useful,
1117c50b57SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
1217c50b57SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1317c50b57SGreg Roach * GNU General Public License for more details.
1417c50b57SGreg 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/>.
1617c50b57SGreg Roach */
17fcfa147eSGreg Roach
1817c50b57SGreg Roachdeclare(strict_types=1);
1917c50b57SGreg Roach
2017c50b57SGreg Roachnamespace Fisharebest\Webtrees\Module;
2117c50b57SGreg Roach
22b5c8fd7eSGreg Roachuse Fisharebest\Webtrees\Fact;
2317c50b57SGreg Roachuse Fisharebest\Webtrees\Individual;
2417c50b57SGreg Roachuse Illuminate\Support\Collection;
2517c50b57SGreg Roach
2617c50b57SGreg Roach/**
2717c50b57SGreg Roach * Interface ModuleHistoricEventsInterface - Show historic facts on an individual‘s page
2817c50b57SGreg Roach */
2917c50b57SGreg Roachinterface ModuleHistoricEventsInterface extends ModuleInterface
3017c50b57SGreg Roach{
3117c50b57SGreg Roach    /**
3236779af1SGreg Roach     * @return Collection<int,string>
3317c50b57SGreg Roach     */
34*3ee4c7efSGreg Roach    public function historicEventsAll(string $language_tag): Collection;
3517c50b57SGreg Roach
3617c50b57SGreg Roach    /**
3736779af1SGreg Roach     * @return Collection<int,Fact>
3817c50b57SGreg Roach     */
3917c50b57SGreg Roach    public function historicEventsForIndividual(Individual $individual): Collection;
4017c50b57SGreg Roach}
41