| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 65 | protected function payload($recipient) |
||
| 66 | { |
||
| 67 | return [ |
||
| 68 | 'Message' => $this->body, |
||
| 69 | 'MessageAttributes' => [ |
||
| 70 | 'AWS.SNS.SMS.SenderID' => [ |
||
| 71 | 'DataType' => 'String', |
||
| 72 | 'StringValue' => $this->settings->sender, |
||
| 73 | ], |
||
| 74 | 'AWS.SNS.SMS.SMSType' => [ |
||
| 75 | 'DataType' => 'String', |
||
| 76 | 'StringValue' => $this->settings->type, |
||
| 77 | ], |
||
| 78 | ], |
||
| 79 | 'PhoneNumber' => $recipient, |
||
| 80 | ]; |
||
| 81 | } |
||
| 82 | } |
||
| 83 |
This method has been deprecated.