Commit | Line | Data |
---|---|---|
755d49f0 | 1 | <?php |
a9229942 | 2 | |
755d49f0 MS |
3 | namespace wcf\data; |
4 | ||
5 | /** | |
6 | * Provides a method to access the unique id of an object. | |
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 | |
12 | * @since 5.2 | |
755d49f0 | 13 | */ |
a9229942 TD |
14 | interface IIDObject |
15 | { | |
16 | /** | |
17 | * Returns the unique id of the object. | |
18 | * | |
19 | * @return int | |
20 | */ | |
21 | public function getObjectID(); | |
755d49f0 | 22 | } |