getText() public method

Get text part of the message.
public getText ( ) : string
return string
Example #1
0
 public function testSetAndGetText()
 {
     $m = new Mail();
     $m->setText('Hello World');
     $this->assertEquals('Hello World', $m->getText());
 }