Merge branch '3.1'
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / data / IVisitableObjectAction.class.php
1 <?php
2 namespace wcf\data;
3
4 /**
5 * Default interface for objects supporting visit tracking.
6 *
7 * @author Alexander Ebert
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 */
12 interface IVisitableObjectAction {
13 /**
14 * Marks objects as read.
15 */
16 public function markAsRead();
17
18 /**
19 * Validates parameters to mark objects as read.
20 */
21 public function validateMarkAsRead();
22 }