mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-15 22:09:48 +08:00
Update phpDoc MailerInterface::compose()
This commit is contained in:
@@ -31,7 +31,7 @@ interface MailerInterface
|
|||||||
/**
|
/**
|
||||||
* Creates a new message instance and optionally composes its body content via view rendering.
|
* Creates a new message instance and optionally composes its body content via view rendering.
|
||||||
*
|
*
|
||||||
* @param string|array $view the view to be used for rendering the message body. This can be:
|
* @param string|array|null $view the view to be used for rendering the message body. This can be:
|
||||||
*
|
*
|
||||||
* - a string, which represents the view name or path alias for rendering the HTML body of the email.
|
* - a string, which represents the view name or path alias for rendering the HTML body of the email.
|
||||||
* In this case, the text body will be generated by applying `strip_tags()` to the HTML body.
|
* In this case, the text body will be generated by applying `strip_tags()` to the HTML body.
|
||||||
|
|||||||
Reference in New Issue
Block a user