summaryrefslogtreecommitdiffstats
path: root/lib/public/mail
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-04-16 17:00:08 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-04-16 17:00:08 +0200
commit7644950b48b094bfe5675348aefb7cf5747d325b (patch)
treea1792e21239a86f471da99b454134a5d8533ef77 /lib/public/mail
parent8653da6c16597959c7bd0f0b202747ff96204575 (diff)
downloadnextcloud-server-7644950b48b094bfe5675348aefb7cf5747d325b.tar.gz
nextcloud-server-7644950b48b094bfe5675348aefb7cf5747d325b.zip
Add @since tags to all methods in public namespace
* enhance the app development experience - you can look up the method introduction right inside the code without searching via git blame * easier to write apps for multiple versions
Diffstat (limited to 'lib/public/mail')
-rw-r--r--lib/public/mail/imailer.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/public/mail/imailer.php b/lib/public/mail/imailer.php
index 806a3d23150..9580104a8bf 100644
--- a/lib/public/mail/imailer.php
+++ b/lib/public/mail/imailer.php
@@ -39,12 +39,14 @@ use OC\Mail\Message;
* This message can then be passed to send() of \OC\Mail\Mailer
*
* @package OCP\Mail
+ * @since 8.1.0
*/
interface IMailer {
/**
* Creates a new message object that can be passed to send()
*
* @return Message
+ * @since 8.1.0
*/
public function createMessage();
@@ -57,6 +59,7 @@ interface IMailer {
* therefore should be considered
* @throws \Exception In case it was not possible to send the message. (for example if an invalid mail address
* has been supplied.)
+ * @since 8.1.0
*/
public function send(Message $message);
@@ -65,6 +68,7 @@ interface IMailer {
*
* @param string $email Email address to be validated
* @return bool True if the mail address is valid, false otherwise
+ * @since 8.1.0
*/
public function validateMailAddress($email);
}