summaryrefslogtreecommitdiffstats
path: root/lib/public/Notification/INotification.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Notification/INotification.php')
-rw-r--r--lib/public/Notification/INotification.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/public/Notification/INotification.php b/lib/public/Notification/INotification.php
index fd16876a666..3a8bde0a375 100644
--- a/lib/public/Notification/INotification.php
+++ b/lib/public/Notification/INotification.php
@@ -128,6 +128,27 @@ interface INotification {
public function getParsedSubject();
/**
+ * @param string $subject
+ * @param array $parameters
+ * @return $this
+ * @throws \InvalidArgumentException if the subject or parameters are invalid
+ * @since 9.2.0
+ */
+ public function setRichSubject($subject, array $parameters = []);
+
+ /**
+ * @return string
+ * @since 9.2.0
+ */
+ public function getRichSubject();
+
+ /**
+ * @return array[]
+ * @since 9.2.0
+ */
+ public function getRichSubjectParameters();
+
+ /**
* @param string $message
* @param array $parameters
* @return $this