public function SmsDeliveryReport::setStatusTime in SMS Framework 8
Same name in this branch
- 8 src/Message/SmsDeliveryReport.php \Drupal\sms\Message\SmsDeliveryReport::setStatusTime()
- 8 src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\SmsDeliveryReport::setStatusTime()
Same name and namespace in other branches
- 2.x src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\SmsDeliveryReport::setStatusTime()
- 2.1.x src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\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/
Entity/ SmsDeliveryReport.php, line 113
Class
- SmsDeliveryReport
- Defines the SMS message delivery report entity.
Namespace
Drupal\sms\EntityCode
public function setStatusTime($time) {
$this
->set('status_time', $time);
return $this;
}