Skip to content
Permalink
Browse files

Add Mail getter and setter method annotation

  • Loading branch information...
Iandenh committed May 3, 2017
1 parent e9ab076 commit 8aabfbe3ef89b291163a1276b7dd79e98d914c57
Showing with 46 additions and 0 deletions.
  1. +46 −0 src/Mailer/Mailer.php
@@ -79,35 +79,81 @@
* Our mailer could either be registered in the application bootstrap, or
* in the Table class' initialize() hook.
*
* @method \Cake\Mailer\Email setTo($email, $name = null)
* @method array getTo()
* @method \Cake\Mailer\Email to($email = null, $name = null)
* @method \Cake\Mailer\Email setFrom($email, $name = null)
* @method array getFrom()
* @method \Cake\Mailer\Email from($email = null, $name = null)
* @method \Cake\Mailer\Email setSender($email, $name = null)
* @method array getSender()
* @method \Cake\Mailer\Email sender($email = null, $name = null)
* @method \Cake\Mailer\Email setReplyTo($email, $name = null)
* @method array getReplyTo()
* @method \Cake\Mailer\Email replyTo($email = null, $name = null)
* @method \Cake\Mailer\Email setReadReceipt($email, $name = null)
* @method array getReadReceipt()
* @method \Cake\Mailer\Email readReceipt($email = null, $name = null)
* @method \Cake\Mailer\Email setReturnPath($email, $name = null)
* @method array getReturnPath()
* @method \Cake\Mailer\Email returnPath($email = null, $name = null)
* @method \Cake\Mailer\Email addTo($email, $name = null)
* @method \Cake\Mailer\Email setCc($email = null, $name = null)
* @method array getCc()
* @method \Cake\Mailer\Email cc($email = null, $name = null)
* @method \Cake\Mailer\Email addCc($email, $name = null)
* @method \Cake\Mailer\Email setBcc($email, $name = null)
* @method array getBcc()
* @method \Cake\Mailer\Email bcc($email = null, $name = null)
* @method \Cake\Mailer\Email addBcc($email, $name = null)
* @method \Cake\Mailer\Email setCharset($charset)
* @method string getCharset()
* @method \Cake\Mailer\Email charset($charset = null)
* @method \Cake\Mailer\Email setHeaderCharset($charset)
* @method string getHeaderCharset()
* @method \Cake\Mailer\Email headerCharset($charset = null)
* @method \Cake\Mailer\Email setSubject($subject)
* @method string getSubject()
* @method \Cake\Mailer\Email subject($subject = null)
* @method \Cake\Mailer\Email setHeaders(array $headers)
* @method \Cake\Mailer\Email addHeaders(array $headers)
* @method \Cake\Mailer\Email getHeaders(array $include = [])
* @method \Cake\Mailer\Email setTemplate($template)
* @method string getTemplate()
* @method \Cake\Mailer\Email setLayout($layout)
* @method string getLayout()
* @method \Cake\Mailer\Email template($template = false, $layout = false)
* @method \Cake\Mailer\Email setViewRenderer($viewClass)
* @method string getViewRenderer()
* @method \Cake\Mailer\Email viewRender($viewClass = null)
* @method \Cake\Mailer\Email setViewVars($viewVars)
* @method array getViewVars()
* @method \Cake\Mailer\Email viewVars($viewVars = null)
* @method \Cake\Mailer\Email setTheme($theme)
* @method string getTheme()
* @method \Cake\Mailer\Email theme($theme = null)
* @method \Cake\Mailer\Email setHelpers(array $helpers)
* @method array getHelpers()
* @method \Cake\Mailer\Email helpers($helpers = null)
* @method \Cake\Mailer\Email setEmailFormat($format)
* @method string getEmailFormat()
* @method \Cake\Mailer\Email emailFormat($format = null)
* @method \Cake\Mailer\Email setTransport($name)
* @method \Cake\Mailer\AbstractTransport getTransport()
* @method \Cake\Mailer\Email transport($name = null)
* @method \Cake\Mailer\Email setMessageId($message)
* @method bool|string getMessageId()
* @method \Cake\Mailer\Email messageId($message = null)
* @method \Cake\Mailer\Email setDomain($domain)
* @method string getDomain()
* @method \Cake\Mailer\Email domain($domain = null)
* @method \Cake\Mailer\Email setAttachments($attachments)
* @method array getAttachments()
* @method \Cake\Mailer\Email attachments($attachments = null)
* @method \Cake\Mailer\Email addAttachments($attachments)
* @method \Cake\Mailer\Email message($type = null)
* @method \Cake\Mailer\Email setProfile($config)
* @method string|array getProfile()
* @method \Cake\Mailer\Email profile($config = null)
*/
abstract class Mailer implements EventListenerInterface

0 comments on commit 8aabfbe

Please sign in to comment.
You can’t perform that action at this time.