You are here

public function SmsMessage::getProcessedTime in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/Entity/SmsMessage.php \Drupal\sms\Entity\SmsMessage::getProcessedTime()
  2. 2.1.x src/Entity/SmsMessage.php \Drupal\sms\Entity\SmsMessage::getProcessedTime()

The time the SMS message was processed.

This value does not indicate whether the message was sent, only that the gateway accepted the request.

Return value

int|null The timestamp when SMS message was processed, or NULL if not processed.

Overrides SmsMessageInterface::getProcessedTime

File

src/Entity/SmsMessage.php, line 431

Class

SmsMessage
Defines the SMS message entity.

Namespace

Drupal\sms\Entity

Code

public function getProcessedTime() {
  return $this
    ->get('processed')->value;
}