You are here

public function SmsMessage::setProcessedTime in SMS Framework 8

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

Set the time the SMS message was processed.

Parameters

int $processed: The timestamp when SMS message was processed.

Return value

$this Return SMS message for chaining.

Overrides SmsMessageInterface::setProcessedTime

File

src/Entity/SmsMessage.php, line 438

Class

SmsMessage
Defines the SMS message entity.

Namespace

Drupal\sms\Entity

Code

public function setProcessedTime($processed) {
  $this
    ->set('processed', $processed);
  return $this;
}