2 declare(strict_types=1);
3 namespace wcf\system\user\notification\object\type;
4 use wcf\data\comment\Comment;
7 * Default interface for comment user notification object types with notifications
8 * being sent to multiple recipients.
10 * This interface can also be implemented by user notification object types for
11 * comment responses. In this case, there is no distinction between commentResponse
12 * and commentResponseOwner event and only a commentResponse event is fired.
14 * @author Matthias Schmidt
15 * @copyright 2001-2018 WoltLab GmbH
16 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
17 * @package WoltLabSuite\Core\System\User\Notification\Object\Type
20 interface IMultiRecipientCommentUserNotificationObjectType {
22 * Returns the user ids of the notification recipients. If an empty array
23 * is returned, no notifications should be sent.
25 * @param Comment $comment
28 public function getRecipientIDs(Comment $comment);