public function SmsMessageInterface::setSenderNumber in SMS Framework 8
Same name and namespace in other branches
- 2.x src/Message/SmsMessageInterface.php \Drupal\sms\Message\SmsMessageInterface::setSenderNumber()
- 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\MessageCode
public function setSenderNumber($number);