CommentNotifier.php
1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?php
namespace FootyRoom\Core\Notification;
interface CommentNotifier
{
/**
* Notifies author of parent comment and all other users who also made a
* reply to it.
*
* @param int $commentParentId
* @param int $commentUserId
* @param int $commentId
* @param string $notificationContent
*/
public function notifyReply($commentParentId, $commentUserId, $commentId, $notificationContent);
/**
* Notifies all subscribers to specified forum post.
*
* @param int $commentPostId
* @param int $commentUserId
* @param int $commentId
* @param string $notificationContent
*/
public function notifyForumReply($commentPostId, $commentUserId, $commentId, $notificationContent);
/**
* Notifies author of parent comment and all other users who also made a
* reply to it as well as the owner of the wall.
*
* @param int $commentParentId
* @param int $commentUserId
* @param int $commentId
* @param int $wallUserId
* @param string $notificationContent
*/
public function notifyProfileWallReply($commentParentId, $commentUserId, $commentId, $wallUserId, $notificationContent);
/**
* Notifies owner of the wall.
*
* @param int $wallUserId
* @param int $commentUserId
* @param int $commentId
* @param string $notificationContent
*/
public function notifyProfileWallComment($wallUserId, $commentUserId, $commentId, $notificationContent);
/**
* Remove all comment notifications triggered by specific comment.
*
* @param int $commentId
*/
public function unnotify($commentId);
}