public function SmsDeliveryReport::setRecipient in SMS Framework 8
Same name in this branch
- 8 src/Message/SmsDeliveryReport.php \Drupal\sms\Message\SmsDeliveryReport::setRecipient()
- 8 src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\SmsDeliveryReport::setRecipient()
Same name and namespace in other branches
- 2.x src/Message/SmsDeliveryReport.php \Drupal\sms\Message\SmsDeliveryReport::setRecipient()
- 2.1.x src/Message/SmsDeliveryReport.php \Drupal\sms\Message\SmsDeliveryReport::setRecipient()
Sets the recipient for the message.
Parameters
string $recipient: The recipient for the message.
Return value
$this Returns this report object for chaining.
Overrides SmsDeliveryReportInterface::setRecipient
File
- src/
Message/ SmsDeliveryReport.php, line 87
Class
- SmsDeliveryReport
- A value object that holds the SMS delivery report.
Namespace
Drupal\sms\MessageCode
public function setRecipient($recipient) {
$this->recipient = $recipient;
return $this;
}