public function SmsMessageInterface::chunkByRecipients in SMS Framework 8
Same name and namespace in other branches
- 2.x src/Message/SmsMessageInterface.php \Drupal\sms\Message\SmsMessageInterface::chunkByRecipients()
- 2.1.x src/Message/SmsMessageInterface.php \Drupal\sms\Message\SmsMessageInterface::chunkByRecipients()
Split this SMS message into new messages by chunks of recipients.
Parameters
int $size: The quantity of recipients to chunk by.
Return value
static[] An array of SMS messages split by recipient chunks.
2 methods override SmsMessageInterface::chunkByRecipients()
- SmsMessage::chunkByRecipients in src/
Message/ SmsMessage.php - Split this SMS message into new messages by chunks of recipients.
- SmsMessage::chunkByRecipients in src/
Entity/ SmsMessage.php - Split this SMS message into new messages by chunks of recipients.
File
- src/
Message/ SmsMessageInterface.php, line 280
Class
- SmsMessageInterface
- Contains information about an SMS message.
Namespace
Drupal\sms\MessageCode
public function chunkByRecipients($size);