Pop\Mail\Message::setText PHP Method

setText() public method

Set text part of the message.
public setText ( string $text ) : Message
$text string
return Message
    public function setText($text)
    {
        $this->text = $text;
        return $this;
    }

Usage Example

示例#1
0
 /**
  * Set text part of the message.
  *
  * @param  string $text
  * @return \Pop\Mail\Mail
  */
 public function setText($text)
 {
     $this->message->setText($text);
     return $this;
 }