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