be41b388f17a81cc915e553b4d3490bf4403c8f8
[GitHub/WoltLab/WCF.git] /
1 <?php
2 namespace wcf\system\user\notification\object;
3 use wcf\data\user\follow\UserFollow;
4 use wcf\data\DatabaseObjectDecorator;
5
6 /**
7 * Represents a following user as a notification object.
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 UserFollow getDecoratedObject()
15 * @mixin UserFollow
16 */
17 class UserFollowUserNotificationObject extends DatabaseObjectDecorator implements IUserNotificationObject {
18 /**
19 * @inheritDoc
20 */
21 protected static $baseClass = UserFollow::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 }