3 namespace wcf\system\user\notification\object;
5 use wcf\data\DatabaseObjectDecorator;
6 use wcf\data\paid\subscription\user\PaidSubscriptionUser;
7 use wcf\system\request\LinkHandler;
10 * Represents a paid subscription user as a notification object.
12 * @author Matthias Schmidt
13 * @copyright 2001-2019 WoltLab GmbH
14 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
15 * @package WoltLabSuite\Core\System\User\Notification\Object
18 * @method PaidSubscriptionUser getDecoratedObject()
19 * @mixin PaidSubscriptionUser
21 class PaidSubscriptionUserUserNotificationObject extends DatabaseObjectDecorator implements IUserNotificationObject
26 protected static $baseClass = PaidSubscriptionUser::class;
31 public function getAuthorID()
38 public function getTitle()
40 return $this->getSubscription()->getTitle();
46 public function getURL()
48 return LinkHandler::getInstance()->getLink('PaidSubscriptionList', ['forceFrontend' => true]);