xref: /webtrees/app/Statistics/Repository/Interfaces/ContactRepositoryInterface.php (revision 242a78626998a767db1568b24919e94ae4b38ac3)
18add1155SRico Sonntag<?php
28add1155SRico Sonntag/**
38add1155SRico Sonntag * webtrees: online genealogy
4*242a7862SGreg Roach * Copyright (C) 2019 webtrees development team
58add1155SRico Sonntag * This program is free software: you can redistribute it and/or modify
68add1155SRico Sonntag * it under the terms of the GNU General Public License as published by
78add1155SRico Sonntag * the Free Software Foundation, either version 3 of the License, or
88add1155SRico Sonntag * (at your option) any later version.
98add1155SRico Sonntag * This program is distributed in the hope that it will be useful,
108add1155SRico Sonntag * but WITHOUT ANY WARRANTY; without even the implied warranty of
118add1155SRico Sonntag * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
128add1155SRico Sonntag * GNU General Public License for more details.
138add1155SRico Sonntag * You should have received a copy of the GNU General Public License
148add1155SRico Sonntag * along with this program. If not, see <http://www.gnu.org/licenses/>.
158add1155SRico Sonntag */
168add1155SRico Sonntagdeclare(strict_types=1);
178add1155SRico Sonntag
188add1155SRico Sonntagnamespace Fisharebest\Webtrees\Statistics\Repository\Interfaces;
198add1155SRico Sonntag
208add1155SRico Sonntag/**
218add1155SRico Sonntag * A repository providing methods for contact related statistics.
228add1155SRico Sonntag */
238add1155SRico Sonntaginterface ContactRepositoryInterface
248add1155SRico Sonntag{
258add1155SRico Sonntag    /**
268add1155SRico Sonntag     * Returns a link to contact the webmaster.
278add1155SRico Sonntag     *
288add1155SRico Sonntag     * @return string
298add1155SRico Sonntag     */
308add1155SRico Sonntag    public function contactWebmaster(): string;
318add1155SRico Sonntag
328add1155SRico Sonntag    /**
338add1155SRico Sonntag     * Returns a link to contact the genealogy contact.
348add1155SRico Sonntag     *
358add1155SRico Sonntag     * @return string
368add1155SRico Sonntag     */
378add1155SRico Sonntag    public function contactGedcom(): string;
388add1155SRico Sonntag}
39