You are here

public function SmsMessageInterface::getSender in SMS Framework 2.x

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

Gets the name of the sender of this SMS message.

Return value

string|null The name of the sender, or NULL if none is defined.

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

File

src/Message/SmsMessageInterface.php, line 174

Class

SmsMessageInterface
Contains information about an SMS message.

Namespace

Drupal\sms\Message

Code

public function getSender();