public function SmsMessageInterface::addRecipient in SMS Framework 8
Same name and namespace in other branches
- 2.x src/Message/SmsMessageInterface.php \Drupal\sms\Message\SmsMessageInterface::addRecipient()
- 2.1.x src/Message/SmsMessageInterface.php \Drupal\sms\Message\SmsMessageInterface::addRecipient()
Adds a single recipient to the SMS message.
Parameters
string $recipient: The recipient to add.
Return value
$this The called SMS message object.
2 methods override SmsMessageInterface::addRecipient()
- SmsMessage::addRecipient in src/
Message/ SmsMessage.php - Adds a single recipient to the SMS message.
- SmsMessage::addRecipient in src/
Entity/ SmsMessage.php - Adds a single recipient to the SMS message.
File
- src/
Message/ SmsMessageInterface.php, line 29
Class
- SmsMessageInterface
- Contains information about an SMS message.
Namespace
Drupal\sms\MessageCode
public function addRecipient($recipient);