public function SmsDeliveryReport::setRecipient in SMS Framework 2.x
Same name in this branch
- 2.x src/Message/SmsDeliveryReport.php \Drupal\sms\Message\SmsDeliveryReport::setRecipient()
- 2.x src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\SmsDeliveryReport::setRecipient()
Same name and namespace in other branches
- 8 src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\SmsDeliveryReport::setRecipient()
- 2.1.x src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\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/
Entity/ SmsDeliveryReport.php, line 70
Class
- SmsDeliveryReport
- Defines the SMS message delivery report entity.
Namespace
Drupal\sms\EntityCode
public function setRecipient($recipient) {
$this
->set('recipient', $recipient);
return $this;
}