public __construct ( ElggEntity $from, ElggEntity $to, string $language, string $subject, string $body, string $summary = '', array $params = [] ) | ||
$from | ElggEntity | The entity sending the notification (usually the site) |
$to | ElggEntity | The entity receiving the notification |
$language | string | The language code for the notification |
$subject | string | The subject of the notification |
$body | string | The body of the notification |
$summary | string | Optional summary of the notification |
$params | array | Optional array of parameters |