You are here

public function SmsMessageInterface::setUid in SMS Framework 2.1.x

Same name and namespace in other branches
  1. 8 src/Message/SmsMessageInterface.php \Drupal\sms\Message\SmsMessageInterface::setUid()
  2. 2.x src/Message/SmsMessageInterface.php \Drupal\sms\Message\SmsMessageInterface::setUid()

Set the user who created the SMS message.

Parameters

int $uid: The ID of a user entity.

Return value

$this The called SMS message object.

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

File

src/Message/SmsMessageInterface.php, line 251

Class

SmsMessageInterface
Contains information about an SMS message.

Namespace

Drupal\sms\Message

Code

public function setUid($uid);