79e41c82b0ea156aee991bade587c24aabc4670c
[GitHub/WoltLab/WCF.git] /
1 <?php
2 namespace wcf\system\user\notification\object;
3 use wcf\data\comment\response\CommentResponse;
4 use wcf\data\DatabaseObjectDecorator;
5
6 /**
7 * Notification object for comment responses.
8 *
9 * @author Alexander Ebert
10 * @copyright 2001-2018 WoltLab GmbH
11 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
12 * @package WoltLabSuite\Core\System\User\Notification\Object
13 *
14 * @method CommentResponse getDecoratedObject()
15 * @mixin CommentResponse
16 */
17 class CommentResponseUserNotificationObject extends DatabaseObjectDecorator implements IUserNotificationObject {
18 /**
19 * @inheritDoc
20 */
21 protected static $baseClass = CommentResponse::class;
22
23 /**
24 * @inheritDoc
25 */
26 public function getTitle() {
27 return '';
28 }
29
30 /**
31 * @inheritDoc
32 */
33 public function getURL() {
34 return '';
35 }
36
37 /**
38 * @inheritDoc
39 */
40 public function getAuthorID() {
41 return $this->userID;
42 }
43 }