class GetSmtpTemplates in SendinBlue 7.2
Hierarchy
- class \GetSmtpTemplates
Expanded class hierarchy of GetSmtpTemplates
File
- includes/
Model/ GetSmtpTemplates.php, line 7
View source
class GetSmtpTemplates {
/**
* @var string*/
public $count;
/**
* @var GetSmtpTemplateOverview[]*/
public $templates;
/**
* GetSmtpTemplates constructor.
*
* @param array $data
*/
public function __construct($data = []) {
$this->count = $data['count'];
if (!empty($data['templates'])) {
foreach ($data['templates'] as $template) {
$this->templates[] = new GetSmtpTemplateOverview($template);
}
}
}
/**
* @return string
*/
public function getCount() {
return $this->count;
}
/**
* @param string $count
*/
public function setCount($count) {
$this->count = $count;
}
/**
* @return GetSmtpTemplateOverview[]
*/
public function getTemplates() {
return $this->templates;
}
/**
* @param GetSmtpTemplateOverview[] $templates
*/
public function setTemplates($templates) {
$this->templates = $templates;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
GetSmtpTemplates:: |
public | property | @var string | |
GetSmtpTemplates:: |
public | property | @var GetSmtpTemplateOverview[] | |
GetSmtpTemplates:: |
public | function | ||
GetSmtpTemplates:: |
public | function | ||
GetSmtpTemplates:: |
public | function | ||
GetSmtpTemplates:: |
public | function | ||
GetSmtpTemplates:: |
public | function | GetSmtpTemplates constructor. |