@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3final class PhabricatorMailSMSMessage
4 extends PhabricatorMailExternalMessage {
5
6 const MESSAGETYPE = 'sms';
7
8 private $toNumber;
9 private $textBody;
10
11 public function newMailMessageEngine() {
12 return new PhabricatorMailSMSEngine();
13 }
14
15 public function setToNumber(PhabricatorPhoneNumber $to_number) {
16 $this->toNumber = $to_number;
17 return $this;
18 }
19
20 public function getToNumber() {
21 return $this->toNumber;
22 }
23
24 public function setTextBody($text_body) {
25 $this->textBody = $text_body;
26 return $this;
27 }
28
29 public function getTextBody() {
30 return $this->textBody;
31 }
32
33}