diff options
author | Joas Schilling <coding@schilljs.com> | 2016-10-14 16:55:20 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-10-20 12:14:59 +0200 |
commit | b35d2fd8f2e96f56951e33d27d07cb213375e46b (patch) | |
tree | 53759a73e85ec2b582872fd0ba6d3a81e1fb5218 /lib/public/Notification | |
parent | 20986488505616654177da1f861238f0232656fa (diff) | |
download | nextcloud-server-b35d2fd8f2e96f56951e33d27d07cb213375e46b.tar.gz nextcloud-server-b35d2fd8f2e96f56951e33d27d07cb213375e46b.zip |
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.php | 21 |
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 |