Add EmailLogListPage
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / data / IToggleContainerAction.class.php
1 <?php
2
3 namespace wcf\data;
4
5 /**
6 * Every database object action whose objects represent a collapsible container
7 * has to implement this interface.
8 *
9 * @author Matthias Schmidt
10 * @copyright 2001-2019 WoltLab GmbH
11 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
12 * @package WoltLabSuite\Core\Data
13 */
14 interface IToggleContainerAction
15 {
16 /**
17 * Toggles the container state of the relevant objects.
18 */
19 public function toggleContainer();
20
21 /**
22 * Validates the 'toggleContainer' action.
23 */
24 public function validateToggleContainer();
25 }