You are here

public function SmsDeliveryReport::setStatusTime in SMS Framework 8

Same name in this branch
  1. 8 src/Message/SmsDeliveryReport.php \Drupal\sms\Message\SmsDeliveryReport::setStatusTime()
  2. 8 src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\SmsDeliveryReport::setStatusTime()
Same name and namespace in other branches
  1. 2.x src/Message/SmsDeliveryReport.php \Drupal\sms\Message\SmsDeliveryReport::setStatusTime()
  2. 2.1.x src/Message/SmsDeliveryReport.php \Drupal\sms\Message\SmsDeliveryReport::setStatusTime()

Sets the gateway-provided timestamp for the current status.

Parameters

int $time: A UNIX timestamp provided by the SMS gateway.

Return value

$this Returns this report object for chaining.

Overrides SmsDeliveryReportInterface::setStatusTime

File

src/Message/SmsDeliveryReport.php, line 162

Class

SmsDeliveryReport
A value object that holds the SMS delivery report.

Namespace

Drupal\sms\Message

Code

public function setStatusTime($time) {
  $this->statusTime = $time;
  return $this;
}