commercetools-sdk-php-v2  master
The platform, import-api and ml-api PHP sdks generated from our api reference.
AttributeEnumTypeBuilder.php
1 <?php
2 
3 declare(strict_types=1);
10 
16 use stdClass;
17 
21 final class AttributeEnumTypeBuilder implements Builder
22 {
27  private $values;
28 
33  public function getValues()
34  {
35  return $this->values;
36  }
37 
43  {
44  $this->values = $values;
45 
46  return $this;
47  }
48 
49 
50  public function build(): AttributeEnumType
51  {
52  return new AttributeEnumTypeModel(
53  $this->values
54  );
55  }
56 
57  public static function of(): AttributeEnumTypeBuilder
58  {
59  return new self();
60  }
61 }