public static function format($hook, $type, $notification, $params) {

		$event = elgg_extract('event', $params);
		$comment = $event->getObject();
		$recipient = elgg_extract('recipient', $params);
		$language = elgg_extract('language', $params);

		if (!$comment instanceof Comment) {
			return;
		}

		$entity = $comment->getContainerEntity();
		if (!$entity) {
			return;
		}

		$messages = (new NotificationFormatter($comment, $recipient, $language))->prepare();

		$notification->summary = $messages->summary;
		$notification->subject = $messages->subject;
		$notification->body = $messages->body;

		return $notification;
	}