mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-13 02:37:38 +01:00
Fixed reference to mailer application component in docs
The application component is named "mailer" by default, not "mail".
This commit is contained in:
@@ -205,7 +205,7 @@ interface MessageInterface
|
||||
/**
|
||||
* Sends this email message.
|
||||
* @param MailerInterface $mailer the mailer that should be used to send this message.
|
||||
* If null, the "mail" application component will be used instead.
|
||||
* If null, the "mailer" application component will be used instead.
|
||||
* @return bool whether this message is sent successfully.
|
||||
*/
|
||||
public function send(MailerInterface $mailer = null);
|
||||
|
||||
Reference in New Issue
Block a user