GetAttributes.php in SendinBlue 8.2
File
src/Tools/Model/GetAttributes.php
View source
<?php
namespace Drupal\sendinblue\Tools\Model;
class GetAttributes {
public $attributes = [];
public function __construct(array $attributes) {
if (!empty($attributes['attributes'])) {
foreach ($attributes['attributes'] as $attribute) {
$this->attributes[] = new GetAttributesAttributes($attribute);
}
}
}
public function getAttributes() : array {
return $this->attributes;
}
public function setAttributes(array $attributes) {
$this->attributes = $attributes;
}
}