|
50 | 50 | */ |
51 | 51 | class AkeneoPimClient implements AkeneoPimClientInterface |
52 | 52 | { |
53 | | - protected Authentication $authentication; |
54 | | - protected ProductApiInterface $productApi; |
55 | | - protected CategoryApiInterface $categoryApi; |
56 | | - protected AttributeApiInterface $attributeApi; |
57 | | - protected AttributeOptionApiInterface $attributeOptionApi; |
58 | | - protected AttributeGroupApiInterface $attributeGroupApi; |
59 | | - protected FamilyApiInterface $familyApi; |
60 | | - protected MediaFileApiInterface $productMediaFileApi; |
61 | | - protected LocaleApiInterface $localeApi; |
62 | | - protected ChannelApiInterface $channelApi; |
63 | | - protected CurrencyApiInterface $currencyApi; |
64 | | - protected MeasureFamilyApiInterface $measureFamilyApi; |
65 | | - protected AssociationTypeApiInterface $associationTypeApi; |
66 | | - protected FamilyVariantApiInterface $familyVariantApi; |
67 | | - protected ProductModelApiInterface $productModelApi; |
68 | | - private MeasurementFamilyApiInterface $measurementFamilyApi; |
69 | | - private PublishedProductApiInterface $publishedProductApi; |
70 | | - private ProductModelDraftApiInterface $productModelDraftApi; |
71 | | - private ProductDraftApiInterface $productDraftApi; |
72 | | - private AssetApiInterface $assetApi; |
73 | | - private AssetCategoryApiInterface $assetCategoryApi; |
74 | | - private AssetTagApiInterface $assetTagApi; |
75 | | - private AssetReferenceFileApiInterface $assetReferenceFileApi; |
76 | | - private AssetVariationFileApiInterface $assetVariationFileApi; |
77 | | - private ReferenceEntityRecordApiInterface $referenceEntityRecordApi; |
78 | | - private ReferenceEntityMediaFileApiInterface $referenceEntityMediaFileApi; |
79 | | - private ReferenceEntityAttributeApiInterface $referenceEntityAttributeApi; |
80 | | - private ReferenceEntityAttributeOptionApiInterface $referenceEntityAttributeOptionApi; |
81 | | - private ReferenceEntityApiInterface $referenceEntityApi; |
82 | | - private AssetManagerApiInterface $assetManagerApi; |
83 | | - private AssetFamilyApiInterface $assetFamilyApi; |
84 | | - private AssetAttributeApiInterface $assetAttributeApi; |
85 | | - private AssetAttributeOptionApiInterface $assetAttributeOptionApi; |
86 | | - private AssetMediaFileApiInterface $assetMediaFileApi; |
87 | | - private AppCatalogApiInterface $appCatalogApi; |
88 | | - private AppCatalogProductApiInterface $appCatalogProductApi; |
89 | | - |
90 | | - private ProductUuidApiInterface $productUuidApi; |
91 | | - private ProductDraftUuidApiInterface $productDraftUuidApi; |
92 | | - |
93 | | - public function __construct( |
94 | | - Authentication $authentication, |
95 | | - ProductApiInterface $productApi, |
96 | | - CategoryApiInterface $categoryApi, |
97 | | - AttributeApiInterface $attributeApi, |
98 | | - AttributeOptionApiInterface $attributeOptionApi, |
99 | | - AttributeGroupApiInterface $attributeGroupApi, |
100 | | - FamilyApiInterface $familyApi, |
101 | | - MediaFileApiInterface $productMediaFileApi, |
102 | | - LocaleApiInterface $localeApi, |
103 | | - ChannelApiInterface $channelApi, |
104 | | - CurrencyApiInterface $currencyApi, |
105 | | - MeasureFamilyApiInterface $measureFamilyApi, |
106 | | - MeasurementFamilyApiInterface $measurementFamilyApi, |
107 | | - AssociationTypeApiInterface $associationTypeApi, |
108 | | - FamilyVariantApiInterface $familyVariantApi, |
109 | | - ProductModelApiInterface $productModelApi, |
110 | | - ProductModelDraftApiInterface $productModelDraftApi, |
111 | | - PublishedProductApiInterface $publishedProductApi, |
112 | | - ProductDraftApiInterface $productDraftApi, |
113 | | - AssetApiInterface $assetApi, |
114 | | - AssetCategoryApiInterface $assetCategoryApi, |
115 | | - AssetTagApiInterface $assetTagApi, |
116 | | - AssetReferenceFileApiInterface $assetReferenceFileApi, |
117 | | - AssetVariationFileApiInterface $assetVariationFileApi, |
118 | | - ReferenceEntityRecordApiInterface $referenceEntityRecordApi, |
119 | | - ReferenceEntityMediaFileApiInterface $referenceEntityMediaFileApi, |
120 | | - ReferenceEntityAttributeApiInterface $referenceEntityAttributeApi, |
121 | | - ReferenceEntityAttributeOptionApiInterface $referenceEntityAttributeOptionApi, |
122 | | - ReferenceEntityApiInterface $referenceEntityApi, |
123 | | - AssetManagerApiInterface $assetManagerApi, |
124 | | - AssetFamilyApiInterface $assetFamilyApi, |
125 | | - AssetAttributeApiInterface $assetAttributeApi, |
126 | | - AssetAttributeOptionApiInterface $assetAttributeOptionApi, |
127 | | - AssetMediaFileApiInterface $assetMediaFileApi, |
128 | | - ProductUuidApiInterface $productUuidApi, |
129 | | - ProductDraftUuidApiInterface $productDraftUuidApi, |
130 | | - AppCatalogApiInterface $appCatalogApi, |
131 | | - AppCatalogProductApiInterface $appCatalogProductApi |
132 | | - ) { |
133 | | - $this->authentication = $authentication; |
134 | | - $this->productApi = $productApi; |
135 | | - $this->categoryApi = $categoryApi; |
136 | | - $this->attributeApi = $attributeApi; |
137 | | - $this->attributeOptionApi = $attributeOptionApi; |
138 | | - $this->attributeGroupApi = $attributeGroupApi; |
139 | | - $this->familyApi = $familyApi; |
140 | | - $this->productMediaFileApi = $productMediaFileApi; |
141 | | - $this->localeApi = $localeApi; |
142 | | - $this->channelApi = $channelApi; |
143 | | - $this->currencyApi = $currencyApi; |
144 | | - $this->measureFamilyApi = $measureFamilyApi; |
145 | | - $this->measurementFamilyApi = $measurementFamilyApi; |
146 | | - $this->associationTypeApi = $associationTypeApi; |
147 | | - $this->familyVariantApi = $familyVariantApi; |
148 | | - $this->productModelApi = $productModelApi; |
149 | | - $this->publishedProductApi = $publishedProductApi; |
150 | | - $this->productDraftApi = $productDraftApi; |
151 | | - $this->productModelDraftApi = $productModelDraftApi; |
152 | | - $this->assetApi = $assetApi; |
153 | | - $this->assetCategoryApi = $assetCategoryApi; |
154 | | - $this->assetTagApi = $assetTagApi; |
155 | | - $this->assetReferenceFileApi = $assetReferenceFileApi; |
156 | | - $this->assetVariationFileApi = $assetVariationFileApi; |
157 | | - $this->referenceEntityRecordApi = $referenceEntityRecordApi; |
158 | | - $this->referenceEntityMediaFileApi = $referenceEntityMediaFileApi; |
159 | | - $this->referenceEntityAttributeApi = $referenceEntityAttributeApi; |
160 | | - $this->referenceEntityAttributeOptionApi = $referenceEntityAttributeOptionApi; |
161 | | - $this->referenceEntityApi = $referenceEntityApi; |
162 | | - $this->assetManagerApi = $assetManagerApi; |
163 | | - $this->assetFamilyApi = $assetFamilyApi; |
164 | | - $this->assetAttributeApi = $assetAttributeApi; |
165 | | - $this->assetAttributeOptionApi = $assetAttributeOptionApi; |
166 | | - $this->assetMediaFileApi = $assetMediaFileApi; |
167 | | - $this->productUuidApi = $productUuidApi; |
168 | | - $this->productDraftUuidApi = $productDraftUuidApi; |
169 | | - $this->appCatalogApi = $appCatalogApi; |
170 | | - $this->appCatalogProductApi = $appCatalogProductApi; |
| 53 | + public function __construct(protected Authentication $authentication, protected ProductApiInterface $productApi, protected CategoryApiInterface $categoryApi, protected AttributeApiInterface $attributeApi, protected AttributeOptionApiInterface $attributeOptionApi, protected AttributeGroupApiInterface $attributeGroupApi, protected FamilyApiInterface $familyApi, protected MediaFileApiInterface $productMediaFileApi, protected LocaleApiInterface $localeApi, protected ChannelApiInterface $channelApi, protected CurrencyApiInterface $currencyApi, protected MeasureFamilyApiInterface $measureFamilyApi, private MeasurementFamilyApiInterface $measurementFamilyApi, protected AssociationTypeApiInterface $associationTypeApi, protected FamilyVariantApiInterface $familyVariantApi, protected ProductModelApiInterface $productModelApi, private ProductModelDraftApiInterface $productModelDraftApi, private PublishedProductApiInterface $publishedProductApi, private ProductDraftApiInterface $productDraftApi, private AssetApiInterface $assetApi, private AssetCategoryApiInterface $assetCategoryApi, private AssetTagApiInterface $assetTagApi, private AssetReferenceFileApiInterface $assetReferenceFileApi, private AssetVariationFileApiInterface $assetVariationFileApi, private ReferenceEntityRecordApiInterface $referenceEntityRecordApi, private ReferenceEntityMediaFileApiInterface $referenceEntityMediaFileApi, private ReferenceEntityAttributeApiInterface $referenceEntityAttributeApi, private ReferenceEntityAttributeOptionApiInterface $referenceEntityAttributeOptionApi, private ReferenceEntityApiInterface $referenceEntityApi, private AssetManagerApiInterface $assetManagerApi, private AssetFamilyApiInterface $assetFamilyApi, private AssetAttributeApiInterface $assetAttributeApi, private AssetAttributeOptionApiInterface $assetAttributeOptionApi, private AssetMediaFileApiInterface $assetMediaFileApi, private ProductUuidApiInterface $productUuidApi, private ProductDraftUuidApiInterface $productDraftUuidApi, private AppCatalogApiInterface $appCatalogApi, private AppCatalogProductApiInterface $appCatalogProductApi) |
| 54 | + { |
171 | 55 | } |
172 | 56 |
|
173 | 57 | /** |
|
0 commit comments