2 namespace wcf\system\user\notification\object;
3 use wcf\data\user\follow\UserFollow;
4 use wcf\data\DatabaseObjectDecorator;
7 * Represents a following user as a notification object.
9 * @author Alexander Ebert
10 * @copyright 2001-2016 WoltLab GmbH
11 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
12 * @package com.woltlab.wcf
13 * @subpackage system.user.notification.object
14 * @category Community Framework
16 * @method UserFollow getDecoratedObject()
19 class UserFollowUserNotificationObject extends DatabaseObjectDecorator implements IStackableUserNotificationObject {
23 protected static $baseClass = UserFollow::class;
28 public function getTitle() {
35 public function getURL() {
42 public function getAuthorID() {
49 public function getRelatedObjectID() {
50 return $this->followUserID;