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