From 6dbb64c4a2748467a61e5ed7821ac6526c86a093 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 4 Sep 2017 15:07:19 +0200 Subject: Merge setMetaData into constructor This ensures that the meta data is set in the beginning Signed-off-by: Joas Schilling --- lib/public/Mail/IMailer.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/public/Mail/IMailer.php') diff --git a/lib/public/Mail/IMailer.php b/lib/public/Mail/IMailer.php index af16a8a239a..c283d346745 100644 --- a/lib/public/Mail/IMailer.php +++ b/lib/public/Mail/IMailer.php @@ -57,10 +57,12 @@ interface IMailer { /** * Creates a new email template object * + * @param string $emailId + * @param array $data * @return IEMailTemplate - * @since 12.0.0 + * @since 12.0.0 Parameters added in 12.0.3 */ - public function createEMailTemplate(); + public function createEMailTemplate($emailId, array $data = []); /** * Send the specified message. Also sets the from address to the value defined in config.php -- cgit v1.2.3