You are here

public function SmsMessageInterface::addRecipients in SMS Framework 2.1.x

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

Adds multiple recipients to the SMS message.

Parameters

array $recipients: An array of recipients to add.

Return value

$this The called SMS message object.

2 methods override SmsMessageInterface::addRecipients()
SmsMessage::addRecipients in src/Message/SmsMessage.php
Adds multiple recipients to the SMS message.
SmsMessage::addRecipients in src/Entity/SmsMessage.php
Adds multiple recipients to the SMS message.

File

src/Message/SmsMessageInterface.php, line 42

Class

SmsMessageInterface
Contains information about an SMS message.

Namespace

Drupal\sms\Message

Code

public function addRecipients(array $recipients);