Merge branch '3.0' into 3.1
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / data / IPollObject.class.php
1 <?php
2 namespace wcf\data;
3
4 /**
5 * Default interface for DatabaseObjects with poll support.
6 *
7 * @author Alexander Ebert
8 * @copyright 2001-2018 WoltLab GmbH
9 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
10 * @package WoltLabSuite\Core\Data
11 */
12 interface IPollObject {
13 /**
14 * Returns true if user can vote in polls.
15 *
16 * @return boolean
17 */
18 public function canVote();
19 }