xref: /webtrees/app/Statistics/Repository/Interfaces/MessageRepositoryInterface.php (revision 8add1155cb77caede54752196ff44696d1346431)
1*8add1155SRico Sonntag<?php
2*8add1155SRico Sonntag/**
3*8add1155SRico Sonntag * webtrees: online genealogy
4*8add1155SRico Sonntag * Copyright (C) 2018 webtrees development team
5*8add1155SRico Sonntag * This program is free software: you can redistribute it and/or modify
6*8add1155SRico Sonntag * it under the terms of the GNU General Public License as published by
7*8add1155SRico Sonntag * the Free Software Foundation, either version 3 of the License, or
8*8add1155SRico Sonntag * (at your option) any later version.
9*8add1155SRico Sonntag * This program is distributed in the hope that it will be useful,
10*8add1155SRico Sonntag * but WITHOUT ANY WARRANTY; without even the implied warranty of
11*8add1155SRico Sonntag * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12*8add1155SRico Sonntag * GNU General Public License for more details.
13*8add1155SRico Sonntag * You should have received a copy of the GNU General Public License
14*8add1155SRico Sonntag * along with this program. If not, see <http://www.gnu.org/licenses/>.
15*8add1155SRico Sonntag */
16*8add1155SRico Sonntagdeclare(strict_types=1);
17*8add1155SRico Sonntag
18*8add1155SRico Sonntagnamespace Fisharebest\Webtrees\Statistics\Repository\Interfaces;
19*8add1155SRico Sonntag
20*8add1155SRico Sonntag/**
21*8add1155SRico Sonntag * A repository providing methods for user message related statistics.
22*8add1155SRico Sonntag */
23*8add1155SRico Sonntaginterface MessageRepositoryInterface
24*8add1155SRico Sonntag{
25*8add1155SRico Sonntag    /**
26*8add1155SRico Sonntag     * How many messages in the user's inbox.
27*8add1155SRico Sonntag     *
28*8add1155SRico Sonntag     * @return string
29*8add1155SRico Sonntag     */
30*8add1155SRico Sonntag    public function totalUserMessages(): string;
31*8add1155SRico Sonntag}
32