Merge branch '3.0'
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / system / poll / AbstractPollHandler.class.php
CommitLineData
e25b7b61
MW
1<?php
2namespace wcf\system\poll;
3use wcf\system\SingletonFactory;
4
5/**
6 * Basic implementation for poll handlers.
7 *
8 * @author Alexander Ebert
c839bd49 9 * @copyright 2001-2018 WoltLab GmbH
e25b7b61 10 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
e71525e4 11 * @package WoltLabSuite\Core\System\Poll
e25b7b61
MW
12 */
13abstract class AbstractPollHandler extends SingletonFactory implements IPollHandler {
14 /**
0fcfe5f6 15 * @inheritDoc
e25b7b61
MW
16 */
17 public function canStartPublicPoll() {
18 return true;
19 }
20
21 /**
0fcfe5f6 22 * @inheritDoc
e25b7b61
MW
23 */
24 public function canVote() {
25 return true;
26 }
27}