You are here

public function SmsMessageInterface::setSenderNumber in SMS Framework 8

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

Set the phone number of the sender.

Parameters

string $number: The phone number of the sender.

Return value

$this Return SMS message for chaining.

2 methods override SmsMessageInterface::setSenderNumber()
SmsMessage::setSenderNumber in src/Message/SmsMessage.php
Set the phone number of the sender.
SmsMessage::setSenderNumber in src/Entity/SmsMessage.php
Set the phone number of the sender.

File

src/Message/SmsMessageInterface.php, line 202

Class

SmsMessageInterface
Contains information about an SMS message.

Namespace

Drupal\sms\Message

Code

public function setSenderNumber($number);