2 namespace wcf\system\user\notification\object\type;
3 use wcf\data\comment\Comment;
4 use wcf\data\comment\CommentList;
5 use wcf\system\user\notification\object\CommentUserNotificationObject;
8 * Represents a comment notification object type for comments on pages.
10 * @author Joshua Ruesweg
11 * @copyright 2001-2018 WoltLab GmbH
12 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
13 * @package WoltLabSuite\Core\System\User\Notification\Object\Type
16 class PageCommentUserNotificationObjectType extends AbstractUserNotificationObjectType implements IMultiRecipientCommentUserNotificationObjectType, IMultiRecipientCommentResponseOwnerUserNotificationObjectType {
17 use TMultiRecipientPageCommentUserNotificationObjectType;
22 protected static $decoratorClassName = CommentUserNotificationObject::class;
27 protected static $objectClassName = Comment::class;
32 protected static $objectListClassName = CommentList::class;
37 public function getCommentOwnerID(Comment $comment) {
38 return $comment->userID;