| 1 | <?php |
||
| 5 | class InfobipMessage |
||
| 6 | { |
||
| 7 | public $content; |
||
| 8 | |||
| 9 | public $from; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * InfobipMessage constructor. |
||
| 13 | * |
||
| 14 | * @param string $content |
||
| 15 | */ |
||
| 16 | 3 | public function __construct($content = '') |
|
| 20 | |||
| 21 | /** |
||
| 22 | * @param $content |
||
| 23 | * @return $this |
||
| 24 | */ |
||
| 25 | 1 | public function content($content) |
|
| 31 | |||
| 32 | /** |
||
| 33 | * Set the phone number this message is sent from. |
||
| 34 | * |
||
| 35 | * @param $from |
||
| 36 | * @return $this |
||
| 37 | */ |
||
| 38 | 1 | public function from($from) |
|
| 44 | |||
| 45 | /** |
||
| 46 | * Get the phone number this message is sent from. |
||
| 47 | * |
||
| 48 | * @return string |
||
| 49 | */ |
||
| 50 | public function getFrom() |
||
| 54 | } |
||
| 55 |