1 | <?php |
||
7 | class Sms |
||
8 | { |
||
9 | /** @var string */ |
||
10 | protected $message; |
||
11 | |||
12 | /** @var RequestType */ |
||
13 | protected $type; |
||
14 | |||
15 | /** @var string[] */ |
||
16 | protected $recipients = []; |
||
17 | |||
18 | /** @var string|null */ |
||
19 | protected $sender; |
||
20 | |||
21 | /** @var int|null */ |
||
22 | protected $customId; |
||
23 | |||
24 | /** |
||
25 | * @param string[] $recipients |
||
26 | */ |
||
27 | public function __construct( |
||
44 | |||
45 | public function getMessage() : string |
||
49 | |||
50 | public function getType() : RequestType |
||
54 | |||
55 | /** |
||
56 | * @return string[] |
||
57 | */ |
||
58 | public function getRecipients() : array |
||
62 | |||
63 | public function getSender() : ?string |
||
67 | |||
68 | public function getCustomId() : ?int |
||
72 | } |
||
73 |