You are here

public function SmsMessageInterface::getUid in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/Message/SmsMessageInterface.php \Drupal\sms\Message\SmsMessageInterface::getUid()
  2. 2.1.x src/Message/SmsMessageInterface.php \Drupal\sms\Message\SmsMessageInterface::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.

2 methods override SmsMessageInterface::getUid()
SmsMessage::getUid in src/Message/SmsMessage.php
Gets the user who created the SMS message.
SmsMessage::getUid in src/Entity/SmsMessage.php
Gets the user who created the SMS message.

File

src/Message/SmsMessageInterface.php, line 238

Class

SmsMessageInterface
Contains information about an SMS message.

Namespace

Drupal\sms\Message

Code

public function getUid();