public function SmsDeliveryReport::setStatus in SMS Framework 8
Same name in this branch
- 8 src/Message/SmsDeliveryReport.php \Drupal\sms\Message\SmsDeliveryReport::setStatus()
- 8 src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\SmsDeliveryReport::setStatus()
Same name and namespace in other branches
- 2.x src/Message/SmsDeliveryReport.php \Drupal\sms\Message\SmsDeliveryReport::setStatus()
- 2.1.x src/Message/SmsDeliveryReport.php \Drupal\sms\Message\SmsDeliveryReport::setStatus()
Sets the status of the message.
Parameters
string|null $status: A status code from \Drupal\sms\Message\SmsMessageReportStatus, or NULL if unknown.
Return value
$this Returns this report object for chaining.
Overrides SmsDeliveryReportInterface::setStatus
File
- src/
Message/ SmsDeliveryReport.php, line 102
Class
- SmsDeliveryReport
- A value object that holds the SMS delivery report.
Namespace
Drupal\sms\MessageCode
public function setStatus($status) {
$this->status = $status;
return $this;
}