You are here

public function SmsDeliveryReportInterface::setStatus in SMS Framework 2.1.x

Same name and namespace in other branches
  1. 8 src/Message/SmsDeliveryReportInterface.php \Drupal\sms\Message\SmsDeliveryReportInterface::setStatus()
  2. 2.x src/Message/SmsDeliveryReportInterface.php \Drupal\sms\Message\SmsDeliveryReportInterface::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.

2 methods override SmsDeliveryReportInterface::setStatus()
SmsDeliveryReport::setStatus in src/Message/SmsDeliveryReport.php
Sets the status of the message.
SmsDeliveryReport::setStatus in src/Entity/SmsDeliveryReport.php
Sets the status of the message.

File

src/Message/SmsDeliveryReportInterface.php, line 71

Class

SmsDeliveryReportInterface
Contains information about an SMS message.

Namespace

Drupal\sms\Message

Code

public function setStatus($status);