You are here

public function SmsMessage::getUid in SMS Framework 8

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

Gets the user who created the SMS message.

Return value

int|null The ID of the user who created the message. Or NULL if no user entity is associated as the sender.

Overrides SmsMessageInterface::getUid

File

src/Message/SmsMessage.php, line 292

Class

SmsMessage
Basic implementation of an SMS message.

Namespace

Drupal\sms\Message

Code

public function getUid() {
  return $this->uid;
}