public function GetSmtpTemplateOverview::__construct in SendinBlue 8.2
Same name and namespace in other branches
- 8 src/Tools/Model/GetSmtpTemplateOverview.php \Drupal\sendinblue\Tools\Model\GetSmtpTemplateOverview::__construct()
GetSmtpTemplates construcfromr.
Parameters
array $data:
File
- src/
Tools/ Model/ GetSmtpTemplateOverview.php, line 34
Class
Namespace
Drupal\sendinblue\Tools\ModelCode
public function __construct(array $data = []) {
$this->id = $data['id'];
$this->subject = $data['subject'];
$this->htmlContent = $data['htmlContent'];
$this->name = $data['name'];
$this->fromEmail = $data['sender']['email'];
$this->fromName = $data['sender']['name'];
}