public function GetAttributes::__construct in SendinBlue 8
Same name and namespace in other branches
- 8.2 src/Tools/Model/GetAttributes.php \Drupal\sendinblue\Tools\Model\GetAttributes::__construct()
GetAttributes constructor.
Parameters
GetAttributesAttributes[] $attributes:
File
- src/
Tools/ Model/ GetAttributes.php, line 18
Class
Namespace
Drupal\sendinblue\Tools\ModelCode
public function __construct(array $attributes) {
if (!empty($attributes['attributes'])) {
foreach ($attributes['attributes'] as $attribute) {
$this->attributes[] = new GetAttributesAttributes($attribute);
}
}
}