63cddf55c2422173128e08321962f8eca489d9a9
[GitHub/WoltLab/WCF.git] /
1 <?php
2 namespace wcf\system\user\notification\object\type;
3 use wcf\data\comment\Comment;
4
5 /**
6 * Default interface for comment user notification object types with notifications
7 * being sent to multiple recipients and has a `commentResponseOwner` event.
8 *
9 * This interface is only required, if you use the interface `IMultiRecipientCommentUserNotificationObjectType`.
10 * If you use not this interface, the `commentResponseOwner` event is fired by default.
11 *
12 * @author Joshua Ruesweg
13 * @copyright 2001-2018 WoltLab GmbH
14 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
15 * @package WoltLabSuite\Core\System\User\Notification\Object\Type
16 * @since 5.2
17 */
18 interface IMultiRecipientCommentResponseOwnerUserNotificationObjectType {
19 /**
20 * Returns the user ids of the comment owner.
21 *
22 * @param Comment $comment
23 * @return integer
24 */
25 public function getCommentOwnerID(Comment $comment);
26 }