Apply PSR-12 code style (#3886)
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / data / IPollContainer.class.php
CommitLineData
f984c90d 1<?php
a9229942 2
f984c90d
MS
3namespace wcf\data;
4
5/**
6 * Every database object that supports polls 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
12 * @since 5.2
f984c90d 13 */
a9229942
TD
14interface IPollContainer extends IIDObject, IPollObject
15{
16 /**
17 * Returns the id of the poll that belongs to this object or `null` if there is no such poll.
18 *
19 * @return null|int
20 */
21 public function getPollID();
f984c90d 22}