You are here

public function GetAttributes::__construct in SendinBlue 7.2

GetAttributes constructor.

Parameters

GetAttributesAttributes[] $attributes:

File

includes/Model/GetAttributes.php, line 16

Class

GetAttributes

Code

public function __construct($attributes) {
  if (!empty($attributes['attributes'])) {
    foreach ($attributes['attributes'] as $attribute) {
      $this->attributes[] = new GetAttributesAttributes($attribute);
    }
  }
}