* @package be.bastelstu.wcf.chat * @subpackage system.chat.command */ interface IRestrictedCommand { /** * Checks the permission to use this command. Has to throw * \wcf\system\exception\PermissionDeniedException when the * user is not allowed to use the command. */ public function checkPermission(); }