Merge branch '3.1' into 5.2
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / data / IPollContainer.class.php
1 <?php
2 namespace wcf\data;
3
4 /**
5 * Every database object that supports polls has to implement this interface.
6 *
7 * @author Matthias Schmidt
8 * @copyright 2001-2019 WoltLab GmbH
9 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
10 * @package WoltLabSuite\Core\Data
11 * @since 5.2
12 */
13 interface IPollContainer extends IIDObject, IPollObject {
14 /**
15 * Returns the id of the poll that belongs to this object or `null` if there is no such poll.
16 *
17 * @return null|integer
18 */
19 public function getPollID();
20 }