Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / metamta / message / PhabricatorMailSMSMessage.php
blobae7cd7122dd7ffb15a386de50c9049878da4a8a0
1 <?php
3 final class PhabricatorMailSMSMessage
4 extends PhabricatorMailExternalMessage {
6 const MESSAGETYPE = 'sms';
8 private $toNumber;
9 private $textBody;
11 public function newMailMessageEngine() {
12 return new PhabricatorMailSMSEngine();
15 public function setToNumber(PhabricatorPhoneNumber $to_number) {
16 $this->toNumber = $to_number;
17 return $this;
20 public function getToNumber() {
21 return $this->toNumber;
24 public function setTextBody($text_body) {
25 $this->textBody = $text_body;
26 return $this;
29 public function getTextBody() {
30 return $this->textBody;