Pop\Mail\Message::setText PHP Méthode

setText() public méthode

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

Usage Example

Exemple #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;
 }