xref: /webtrees/app/Module/ModuleLanguageInterface.php (revision 89f7189b61a494347591c99bdb92afb7d8b66e1b)
111eb8581SGreg Roach<?php
23976b470SGreg Roach
311eb8581SGreg Roach/**
411eb8581SGreg Roach * webtrees: online genealogy
5*89f7189bSGreg Roach * Copyright (C) 2021 webtrees development team
611eb8581SGreg Roach * This program is free software: you can redistribute it and/or modify
711eb8581SGreg Roach * it under the terms of the GNU General Public License as published by
811eb8581SGreg Roach * the Free Software Foundation, either version 3 of the License, or
911eb8581SGreg Roach * (at your option) any later version.
1011eb8581SGreg Roach * This program is distributed in the hope that it will be useful,
1111eb8581SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
1211eb8581SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1311eb8581SGreg Roach * GNU General Public License for more details.
1411eb8581SGreg Roach * You should have received a copy of the GNU General Public License
15*89f7189bSGreg Roach * along with this program. If not, see <https://www.gnu.org/licenses/>.
1611eb8581SGreg Roach */
17fcfa147eSGreg Roach
1811eb8581SGreg Roachdeclare(strict_types=1);
1911eb8581SGreg Roach
2011eb8581SGreg Roachnamespace Fisharebest\Webtrees\Module;
2111eb8581SGreg Roach
2202086832SGreg Roachuse Fisharebest\Localization\Locale\LocaleInterface;
2302086832SGreg Roach
2411eb8581SGreg Roach/**
2511eb8581SGreg Roach * Interface ModuleLanguageInterface - provide translation and localization.
2611eb8581SGreg Roach */
2711eb8581SGreg Roachinterface ModuleLanguageInterface extends ModuleInterface
2811eb8581SGreg Roach{
2902086832SGreg Roach    /**
3002086832SGreg Roach     * @return LocaleInterface
3102086832SGreg Roach     */
3202086832SGreg Roach    public function locale(): LocaleInterface;
3311eb8581SGreg Roach}
34