You are here

public function SmsMessageInterface::setSender in SMS Framework 8

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

Set the name of the sender of this SMS message.

Parameters

string|null $sender: The name of the sender.

Return value

$this The called SMS message object.

2 methods override SmsMessageInterface::setSender()
SmsMessage::setSender in src/Message/SmsMessage.php
Set the name of the sender of this SMS message.
SmsMessage::setSender in src/Entity/SmsMessage.php

File

src/Message/SmsMessageInterface.php, line 183

Class

SmsMessageInterface
Contains information about an SMS message.

Namespace

Drupal\sms\Message

Code

public function setSender($sender);