Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-10-14 17:55:20 +0300
committerJoas Schilling <coding@schilljs.com>2016-10-20 13:14:59 +0300
commitb35d2fd8f2e96f56951e33d27d07cb213375e46b (patch)
tree53759a73e85ec2b582872fd0ba6d3a81e1fb5218 /lib/public/Notification
parent20986488505616654177da1f861238f0232656fa (diff)
Allow rich object subjects for Notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/Notification')
-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