You are here

public function SmsDeliveryReport::setTimeQueued in SMS Framework 8

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

Sets the time the message was queued.

Parameters

int|null $time: The timestamp when the message was queued, or NULL if unknown.

Return value

$this Returns this report object for chaining.

Overrides SmsDeliveryReportInterface::setTimeQueued

File

src/Message/SmsDeliveryReport.php, line 132

Class

SmsDeliveryReport
A value object that holds the SMS delivery report.

Namespace

Drupal\sms\Message

Code

public function setTimeQueued($time) {
  $this->timeQueued = $time;
  return $this;
}