2 namespace wcf\system\user\notification\object;
3 use wcf\data\paid\subscription\user\PaidSubscriptionUser;
4 use wcf\data\DatabaseObjectDecorator;
5 use wcf\system\request\LinkHandler;
8 * Represents a paid subscription user as a notification object.
10 * @author Matthias Schmidt
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
16 * @method PaidSubscriptionUser getDecoratedObject()
17 * @mixin PaidSubscriptionUser
19 class PaidSubscriptionUserUserNotificationObject extends DatabaseObjectDecorator implements IUserNotificationObject {
23 protected static $baseClass = PaidSubscriptionUser::class;
28 public function getAuthorID() {
35 public function getTitle() {
36 return $this->getSubscription()->getTitle();
42 public function getURL() {
43 return LinkHandler::getInstance()->getLink('PaidSubscriptionList', ['forceFrontend' => true]);