GetSmtpTemplates.php in SendinBlue 7.2
File
includes/Model/GetSmtpTemplates.php
View source
<?php
class GetSmtpTemplates {
public $count;
public $templates;
public function __construct($data = []) {
$this->count = $data['count'];
if (!empty($data['templates'])) {
foreach ($data['templates'] as $template) {
$this->templates[] = new GetSmtpTemplateOverview($template);
}
}
}
public function getCount() {
return $this->count;
}
public function setCount($count) {
$this->count = $count;
}
public function getTemplates() {
return $this->templates;
}
public function setTemplates($templates) {
$this->templates = $templates;
}
}