2 namespace wcf\system\user\notification\object\type;
3 use wcf\data\comment\Comment;
6 * Default interface for comment user notification object types with notifications
7 * being sent to multiple recipients.
9 * This interface can also be implemented by user notification object types for
10 * comment responses. In this case, there is no distinction between commentResponse
11 * and commentResponseOwner event and only a commentResponse event is fired.
13 * Since version 3.2 it is possible to send an `commentResponseOwner` notification
14 * even if you implement this interface. Simple add the interface
15 * `IMultiRecipientCommentResponseOwnerUserNotificationObjectType`, too.
17 * @author Matthias Schmidt
18 * @copyright 2001-2018 WoltLab GmbH
19 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
20 * @package WoltLabSuite\Core\System\User\Notification\Object\Type
23 interface IMultiRecipientCommentUserNotificationObjectType {
25 * Returns the user ids of the notification recipients. If an empty array
26 * is returned, no notifications should be sent.
28 * @param Comment $comment
31 public function getRecipientIDs(Comment $comment);