You are here

public function SmsDeliveryReport::getStatusTime in SMS Framework 8

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

Gets the gateway-provided timestamp for the current status.

Return value

int A UNIX timestamp.

Overrides SmsDeliveryReportInterface::getStatusTime

File

src/Entity/SmsDeliveryReport.php, line 106

Class

SmsDeliveryReport
Defines the SMS message delivery report entity.

Namespace

Drupal\sms\Entity

Code

public function getStatusTime() {
  return $this
    ->get('status_time')->value;
}