Commit | Line | Data |
---|---|---|
13d8b49b | 1 | <?php |
a9229942 | 2 | |
13d8b49b MS |
3 | namespace wcf\data; |
4 | ||
5 | /** | |
6 | * Every categorized object has to implement this interface. | |
a9229942 TD |
7 | * |
8 | * @author Matthias Schmidt | |
9 | * @copyright 2001-2019 WoltLab GmbH | |
10 | * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php> | |
13d8b49b | 11 | */ |
a9229942 TD |
12 | interface ICategorizedObject |
13 | { | |
14 | /** | |
15 | * Returns the category this object belongs to. | |
16 | * | |
17 | * @return \wcf\data\category\Category | |
18 | */ | |
19 | public function getCategory(); | |
58e1d71f | 20 | } |