Total Complexity | 7 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Coverage | 68.42% |
Changes | 0 |
1 | <?php |
||
6 | abstract class SiteNotificationFactory { |
||
7 | |||
8 | /** |
||
9 | * Create a site notification |
||
10 | * |
||
11 | * @param ElggUser $recipient Recipient of the notification |
||
12 | * @param string $message Notification message |
||
13 | * @param ElggUser $actor User who caused the notification event |
||
14 | * @param ElggData $object Optional object involved in the notification event |
||
15 | * @param string $url Target URL |
||
16 | * |
||
17 | * @return void|SiteNotification |
||
18 | */ |
||
19 | 2 | public static function create($recipient, $message, $actor, $object = null, $url = null) { |
|
51 |