public function SmsDeliveryReport::setTimeDelivered in SMS Framework 8
Same name in this branch
- 8 src/Message/SmsDeliveryReport.php \Drupal\sms\Message\SmsDeliveryReport::setTimeDelivered()
- 8 src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\SmsDeliveryReport::setTimeDelivered()
Same name and namespace in other branches
- 2.x src/Message/SmsDeliveryReport.php \Drupal\sms\Message\SmsDeliveryReport::setTimeDelivered()
- 2.1.x src/Message/SmsDeliveryReport.php \Drupal\sms\Message\SmsDeliveryReport::setTimeDelivered()
Sets the time the message was delivered to the recipient.
Parameters
int|null $time: The timestamp when the message was delivered to the recipient, or NULL if unknown.
Return value
$this Returns this report object for chaining.
Overrides SmsDeliveryReportInterface::setTimeDelivered
File
- src/
Message/ SmsDeliveryReport.php, line 147
Class
- SmsDeliveryReport
- A value object that holds the SMS delivery report.
Namespace
Drupal\sms\MessageCode
public function setTimeDelivered($time) {
$this->timeDelivered = $time;
return $this;
}