public function SmsDeliveryReport::setStatusMessage in SMS Framework 2.x
Same name in this branch
- 2.x src/Message/SmsDeliveryReport.php \Drupal\sms\Message\SmsDeliveryReport::setStatusMessage()
- 2.x src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\SmsDeliveryReport::setStatusMessage()
Same name and namespace in other branches
- 8 src/Message/SmsDeliveryReport.php \Drupal\sms\Message\SmsDeliveryReport::setStatusMessage()
- 2.1.x src/Message/SmsDeliveryReport.php \Drupal\sms\Message\SmsDeliveryReport::setStatusMessage()
Sets the status message.
Parameters
string $message: The status message as provided by the gateway API.
Return value
$this Returns this report object for chaining.
Overrides SmsDeliveryReportInterface::setStatusMessage
File
- src/
Message/ SmsDeliveryReport.php, line 119
Class
- SmsDeliveryReport
- A value object that holds the SMS delivery report.
Namespace
Drupal\sms\MessageCode
public function setStatusMessage($message) {
$this->statusMessage = $message;
return $this;
}