public function SmsDeliveryReport::setStatusMessage in SMS Framework 8
Same name in this branch
- 8 src/Message/SmsDeliveryReport.php \Drupal\sms\Message\SmsDeliveryReport::setStatusMessage()
- 8 src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\SmsDeliveryReport::setStatusMessage()
Same name and namespace in other branches
- 2.x 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 117
Class
- SmsDeliveryReport
- A value object that holds the SMS delivery report.
Namespace
Drupal\sms\MessageCode
public function setStatusMessage($message) {
$this->statusMessage = $message;
return $this;
}