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> | |
11 | * @package WoltLabSuite\Core\Data | |
13d8b49b | 12 | */ |
a9229942 TD |
13 | interface ICategorizedObject |
14 | { | |
15 | /** | |
16 | * Returns the category this object belongs to. | |
17 | * | |
18 | * @return \wcf\data\category\Category | |
19 | */ | |
20 | public function getCategory(); | |
58e1d71f | 21 | } |