9d6ddf7aea7e78c6af1eb9614186a32755349812
[GitHub/WoltLab/WCF.git] /
1 <?php
2 declare(strict_types=1);
3 namespace wcf\system\user\notification\object;
4 use wcf\data\user\follow\UserFollow;
5 use wcf\data\DatabaseObjectDecorator;
6
7 /**
8 * Represents a following user as a notification object.
9 *
10 * @author Alexander Ebert
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
14 *
15 * @method UserFollow getDecoratedObject()
16 * @mixin UserFollow
17 */
18 class UserFollowUserNotificationObject extends DatabaseObjectDecorator implements IUserNotificationObject {
19 /**
20 * @inheritDoc
21 */
22 protected static $baseClass = UserFollow::class;
23
24 /**
25 * @inheritDoc
26 */
27 public function getTitle() {
28 return '';
29 }
30
31 /**
32 * @inheritDoc
33 */
34 public function getURL() {
35 return '';
36 }
37
38 /**
39 * @inheritDoc
40 */
41 public function getAuthorID() {
42 return $this->userID;
43 }
44 }