Skip to content

Commit

Permalink
Add methods to docblock for IDE completion
Browse files Browse the repository at this point in the history
  • Loading branch information
jadb committed Sep 20, 2015
1 parent 06c7f1e commit 4907553
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion src/Mailer/Mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
use Cake\Datasource\ModelAwareTrait;
use Cake\Event\EventListenerInterface;
use Cake\Mailer\Exception\MissingActionException;
use Cake\Utility\Inflector;

/**
* Mailer base class.
Expand Down Expand Up @@ -79,6 +78,39 @@
* The onRegistration method converts the application event into a mailer method.
* Our mailer could either be registered in the application bootstrap, or
* in the Table class' initialize() hook.
*
* @method Email to($email = null, $name = null)
* @method Email from($email = null, $name = null)
* @method Email sender($email = null, $name = null)
* @method Email replyTo($email = null, $name = null)
* @method Email readReceipt($email = null, $name = null)
* @method Email returnPath($email = null, $name = null)
* @method Email addTo($email, $name = null)
* @method Email cc($email = null, $name = null)
* @method Email addCc($email, $name = null)
* @method Email bcc($email = null, $name = null)
* @method Email addBcc($email, $name = null)
* @method Email charset($charset = null)
* @method Email headerCharset($charset = null)
* @method Email subject($subject = null)
* @method Email setHeaders(array $headers)
* @method Email addHeaders(array $headers)
* @method Email getHeaders(array $include = [])
* @method Email template($template = false, $layout = false)
* @method Email viewRender($viewClass = null)
* @method Email viewVars($viewVars = null)
* @method Email theme($theme = null)
* @method Email helpers($helpers = null)
* @method Email emailFormat($format = null)
* @method Email transport($name = null)
* @method Email messageId($message = null)
* @method Email domain($domain = null)
* @method Email attachments($attachments = null)
* @method Email addAttachments($attachments)
* @method Email message($type = null)
* @method Email profile($config = null)
* @method Email send($content = null)
* @method Email reset()
*/
abstract class Mailer implements EventListenerInterface
{
Expand Down

0 comments on commit 4907553

Please sign in to comment.