Total Complexity | 2 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class SendMessageRequestItem |
||
9 | { |
||
10 | use MessagePropertiesForSend; |
||
11 | |||
12 | public function __construct($messageBody, $delaySeconds = NULL, $priority = NULL) |
||
13 | { |
||
14 | $this->messageBody = $messageBody; |
||
15 | $this->delaySeconds = $delaySeconds; |
||
16 | $this->priority = $priority; |
||
17 | } |
||
18 | |||
19 | public function writeXML(\XMLWriter $xmlWriter, $base64) |
||
20 | { |
||
21 | $xmlWriter->startELement('Message'); |
||
22 | $this->writeMessagePropertiesForSendXML($xmlWriter, $base64); |
||
23 | $xmlWriter->endElement(); |
||
24 | } |
||
28 |