You are here

public function GetSmtpTemplates::__construct in SendinBlue 7.2

GetSmtpTemplates constructor.

Parameters

array $data:

File

includes/Model/GetSmtpTemplates.php, line 21

Class

GetSmtpTemplates

Code

public function __construct($data = []) {
  $this->count = $data['count'];
  if (!empty($data['templates'])) {
    foreach ($data['templates'] as $template) {
      $this->templates[] = new GetSmtpTemplateOverview($template);
    }
  }
}