Browse Source

'yii\mail\MessageInterface' methods renamed: 'text' to 'textBody', 'html' to 'htmlBody'

tags/2.0.0-alpha
Paul Klimov 12 years ago
parent
commit
935e2c94f0
  1. 4
      yii/swiftmailer/Message.php

4
yii/swiftmailer/Message.php

@ -97,7 +97,7 @@ class Message extends BaseMessage
/** /**
* @inheritdoc * @inheritdoc
*/ */
public function text($text) public function textBody($text)
{ {
$this->setBody($text, 'text/plain'); $this->setBody($text, 'text/plain');
return $this; return $this;
@ -106,7 +106,7 @@ class Message extends BaseMessage
/** /**
* @inheritdoc * @inheritdoc
*/ */
public function html($html) public function htmlBody($html)
{ {
$this->setBody($html, 'text/html'); $this->setBody($html, 'text/html');
return $this; return $this;

Loading…
Cancel
Save