Commit | Line | Data |
---|---|---|
d45eaff6 | 1 | <?php |
a9229942 | 2 | |
d45eaff6 MW |
3 | namespace wcf\data; |
4 | ||
5 | /** | |
6 | * Every feed entry should implement this interface. | |
a9229942 TD |
7 | * |
8 | * @author Tim Duesterhus | |
9 | * @copyright 2001-2019 WoltLab GmbH | |
10 | * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php> | |
11 | * @package WoltLabSuite\Core\Data | |
d45eaff6 | 12 | */ |
a9229942 TD |
13 | interface IFeedEntry extends IMessage |
14 | { | |
15 | /** | |
16 | * Returns the number of comments. | |
17 | * | |
18 | * @return int | |
19 | */ | |
20 | public function getComments(); | |
21 | ||
22 | /** | |
23 | * Returns a list of category names. | |
24 | * | |
25 | * @return string[] | |
26 | */ | |
27 | public function getCategories(); | |
d45eaff6 | 28 | } |