1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/** |
4
|
|
|
* This file is part of the Spryker Commerce OS. |
5
|
|
|
* For full license information, please view the LICENSE file that was distributed with this source code. |
6
|
|
|
*/ |
7
|
|
|
|
8
|
|
|
declare(strict_types = 1); |
9
|
|
|
|
10
|
|
|
namespace Pyz\Zed\Publisher; |
11
|
|
|
|
12
|
|
|
use Spryker\Shared\GlossaryStorage\GlossaryStorageConfig; |
13
|
|
|
use Spryker\Shared\PublishAndSynchronizeHealthCheck\PublishAndSynchronizeHealthCheckConfig; |
14
|
|
|
use Spryker\Zed\Asset\Communication\Plugin\Publisher\Store\RefreshAssetStoreRelationPublisherPlugin; |
15
|
|
|
use Spryker\Zed\AssetStorage\Communication\Plugin\Publisher\Asset\AssetDeletePublisherPlugin; |
16
|
|
|
use Spryker\Zed\AssetStorage\Communication\Plugin\Publisher\Asset\AssetWritePublisherPlugin; |
17
|
|
|
use Spryker\Zed\AssetStorage\Communication\Plugin\Publisher\AssetPublisherTriggerPlugin; |
18
|
|
|
use Spryker\Zed\CategoryImageStorage\Communication\Plugin\Publisher\CategoryImagePublisherTriggerPlugin; |
19
|
|
|
use Spryker\Zed\CategoryPageSearch\Communication\Plugin\Publisher\Category\CategoryDeletePublisherPlugin as CategoryPageSearchCategoryDeletePublisherPlugin; |
20
|
|
|
use Spryker\Zed\CategoryPageSearch\Communication\Plugin\Publisher\Category\CategoryWritePublisherPlugin as CategoryPageSearchCategoryWritePublisherPlugin; |
21
|
|
|
use Spryker\Zed\CategoryPageSearch\Communication\Plugin\Publisher\CategoryAttribute\CategoryAttributeDeletePublisherPlugin as CategoryPageSearchCategoryAttributeDeletePublisherPlugin; |
22
|
|
|
use Spryker\Zed\CategoryPageSearch\Communication\Plugin\Publisher\CategoryAttribute\CategoryAttributeWritePublisherPlugin as CategoryPageSearchCategoryAttributeWritePublisherPlugin; |
23
|
|
|
use Spryker\Zed\CategoryPageSearch\Communication\Plugin\Publisher\CategoryNode\CategoryNodeDeletePublisherPlugin as CategoryPageSearchCategoryNodeDeletePublisherPlugin; |
24
|
|
|
use Spryker\Zed\CategoryPageSearch\Communication\Plugin\Publisher\CategoryNode\CategoryNodeWritePublisherPlugin as CategoryPageSearchCategoryNodeWritePublisherPlugin; |
25
|
|
|
use Spryker\Zed\CategoryPageSearch\Communication\Plugin\Publisher\CategoryPagePublisherTriggerPlugin; |
26
|
|
|
use Spryker\Zed\CategoryPageSearch\Communication\Plugin\Publisher\CategoryStore\CategoryStoreWriteForPublishingPublisherPlugin as CategoryStoreSearchWriteForPublishingPublisherPlugin; |
27
|
|
|
use Spryker\Zed\CategoryPageSearch\Communication\Plugin\Publisher\CategoryStore\CategoryStoreWritePublisherPlugin as CategoryStoreSearchWritePublisherPlugin; |
28
|
|
|
use Spryker\Zed\CategoryPageSearch\Communication\Plugin\Publisher\CategoryTemplate\CategoryTemplateDeletePublisherPlugin as CategoryPageSearchCategoryTemplateDeletePublisherPlugin; |
29
|
|
|
use Spryker\Zed\CategoryPageSearch\Communication\Plugin\Publisher\CategoryTemplate\CategoryTemplateWritePublisherPlugin as CategoryPageSearchCategoryTemplateWritePublisherPlugin; |
30
|
|
|
use Spryker\Zed\CategoryStorage\Communication\Plugin\Publisher\Category\CategoryDeletePublisherPlugin; |
31
|
|
|
use Spryker\Zed\CategoryStorage\Communication\Plugin\Publisher\Category\CategoryWritePublisherPlugin as CategoryStoreCategoryWritePublisherPlugin; |
32
|
|
|
use Spryker\Zed\CategoryStorage\Communication\Plugin\Publisher\CategoryAttribute\CategoryAttributeDeletePublisherPlugin; |
33
|
|
|
use Spryker\Zed\CategoryStorage\Communication\Plugin\Publisher\CategoryAttribute\CategoryAttributeWritePublisherPlugin; |
34
|
|
|
use Spryker\Zed\CategoryStorage\Communication\Plugin\Publisher\CategoryNode\CategoryNodeDeletePublisherPlugin; |
35
|
|
|
use Spryker\Zed\CategoryStorage\Communication\Plugin\Publisher\CategoryNode\CategoryNodeWritePublisherPlugin; |
36
|
|
|
use Spryker\Zed\CategoryStorage\Communication\Plugin\Publisher\CategoryNodePublisherTriggerPlugin; |
37
|
|
|
use Spryker\Zed\CategoryStorage\Communication\Plugin\Publisher\CategoryStore\CategoryStoreWriteForPublishingPublisherPlugin as CategoryStoreStorageWriteForPublishingPublisherPlugin; |
38
|
|
|
use Spryker\Zed\CategoryStorage\Communication\Plugin\Publisher\CategoryStore\CategoryStoreWritePublisherPlugin as CategoryStoreStorageWritePublisherPlugin; |
39
|
|
|
use Spryker\Zed\CategoryStorage\Communication\Plugin\Publisher\CategoryTemplate\CategoryTemplateDeletePublisherPlugin; |
40
|
|
|
use Spryker\Zed\CategoryStorage\Communication\Plugin\Publisher\CategoryTemplate\CategoryTemplateWritePublisherPlugin; |
41
|
|
|
use Spryker\Zed\CategoryStorage\Communication\Plugin\Publisher\CategoryTree\CategoryTreeDeletePublisherPlugin; |
42
|
|
|
use Spryker\Zed\CategoryStorage\Communication\Plugin\Publisher\CategoryTree\CategoryTreeWriteForPublishingPublisherPlugin; |
43
|
|
|
use Spryker\Zed\CategoryStorage\Communication\Plugin\Publisher\CategoryTreePublisherTriggerPlugin; |
44
|
|
|
use Spryker\Zed\CategoryStorage\Communication\Plugin\Publisher\ParentWritePublisherPlugin; |
45
|
|
|
use Spryker\Zed\CustomerAccessStorage\Communication\Plugin\Publisher\CustomerAccessPublisherTriggerPlugin; |
46
|
|
|
use Spryker\Zed\CustomerStorage\Communication\Plugin\Publisher\Customer\CustomerInvalidatedWritePublisherPlugin; |
47
|
|
|
use Spryker\Zed\FileManagerStorage\Communication\Plugin\Publisher\FileManagerPublisherTriggerPlugin; |
48
|
|
|
use Spryker\Zed\GlossaryStorage\Communication\Plugin\Publisher\GlossaryKey\GlossaryDeletePublisherPlugin as GlossaryKeyDeletePublisherPlugin; |
49
|
|
|
use Spryker\Zed\GlossaryStorage\Communication\Plugin\Publisher\GlossaryKey\GlossaryWritePublisherPlugin as GlossaryKeyWriterPublisherPlugin; |
50
|
|
|
use Spryker\Zed\GlossaryStorage\Communication\Plugin\Publisher\GlossaryPublisherTriggerPlugin; |
51
|
|
|
use Spryker\Zed\GlossaryStorage\Communication\Plugin\Publisher\GlossaryTranslation\GlossaryWritePublisherPlugin as GlossaryTranslationWritePublisherPlugin; |
52
|
|
|
use Spryker\Zed\Product\Communication\Plugin\Publisher\ProductAbstractUpdatedMessageBrokerPublisherPlugin; |
53
|
|
|
use Spryker\Zed\Product\Communication\Plugin\Publisher\ProductConcreteCreatedMessageBrokerPublisherPlugin; |
54
|
|
|
use Spryker\Zed\Product\Communication\Plugin\Publisher\ProductConcreteDeletedMessageBrokerPublisherPlugin; |
55
|
|
|
use Spryker\Zed\Product\Communication\Plugin\Publisher\ProductConcreteExportedMessageBrokerPublisherPlugin; |
56
|
|
|
use Spryker\Zed\Product\Communication\Plugin\Publisher\ProductConcreteUpdatedMessageBrokerPublisherPlugin; |
57
|
|
|
use Spryker\Zed\ProductAlternativeStorage\Communication\Plugin\Publisher\ProductAlternativePublisherTriggerPlugin; |
58
|
|
|
use Spryker\Zed\ProductBundleStorage\Communication\Plugin\Publisher\ProductBundle\ProductBundlePublishWritePublisherPlugin; |
59
|
|
|
use Spryker\Zed\ProductBundleStorage\Communication\Plugin\Publisher\ProductBundle\ProductBundleWritePublisherPlugin; |
60
|
|
|
use Spryker\Zed\ProductBundleStorage\Communication\Plugin\Publisher\ProductBundlePublisherTriggerPlugin; |
61
|
|
|
use Spryker\Zed\ProductBundleStorage\Communication\Plugin\Publisher\ProductConcrete\ProductBundleWritePublisherPlugin as ProductConcreteProductBundleWritePublisherPlugin; |
62
|
|
|
use Spryker\Zed\ProductCategory\Communication\Plugin\Publisher\ProductCategoryProductUpdatedEventTriggerPlugin; |
63
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\Category\CategoryIsActiveAndCategoryKeyWritePublisherPlugin; |
64
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\Category\CategoryStoreDeletePublisherPlugin; |
65
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\Category\CategoryStoreWriteForPublishingPublisherPlugin; |
66
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\Category\CategoryStoreWritePublisherPlugin; |
67
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\Category\CategoryWritePublisherPlugin as ProductCategoryStorageCategoryWritePublisherPlugin; |
68
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\CategoryAttribute\CategoryAttributeNameWritePublisherPlugin; |
69
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\CategoryAttribute\CategoryAttributeWritePublisherPlugin as ProductCategoryAttributeWritePublisherPlugin; |
70
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\CategoryNode\CategoryNodeWritePublisherPlugin as ProductCategoryNodeWritePublisherPlugin; |
71
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\CategoryUrl\CategoryUrlAndResourceCategorynodeWritePublisherPlugin; |
72
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\CategoryUrl\CategoryUrlWritePublisherPlugin; |
73
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\ProductCategory\ProductCategoryWriteForPublishingPublisherPlugin; |
74
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\ProductCategory\ProductCategoryWritePublisherPlugin; |
75
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\ProductCategoryPublisherTriggerPlugin; |
76
|
|
|
use Spryker\Zed\ProductConfigurationStorage\Communication\Plugin\Publisher\ProductConfiguration\ProductConfigurationDeletePublisherPlugin; |
77
|
|
|
use Spryker\Zed\ProductConfigurationStorage\Communication\Plugin\Publisher\ProductConfiguration\ProductConfigurationWritePublisherPlugin; |
78
|
|
|
use Spryker\Zed\ProductConfigurationStorage\Communication\Plugin\Publisher\ProductConfigurationPublisherTriggerPlugin; |
79
|
|
|
use Spryker\Zed\ProductDiscontinuedStorage\Communication\Plugin\Publisher\ProductDiscontinuedPublisherTriggerPlugin; |
80
|
|
|
use Spryker\Zed\ProductLabel\Communication\Plugin\Publisher\ProductLabelLocalizedAttributesWritePublisherPlugin; |
81
|
|
|
use Spryker\Zed\ProductLabel\Communication\Plugin\Publisher\ProductLabelProductUpdatedEventTriggerPlugin; |
82
|
|
|
use Spryker\Zed\ProductLabelSearch\Communication\Plugin\Publisher\ProductLabel\ProductLabelWritePublisherPlugin as ProductLabelSearchWritePublisherPlugin; |
83
|
|
|
use Spryker\Zed\ProductLabelSearch\Communication\Plugin\Publisher\ProductLabelProductAbstract\ProductLabelProductAbstractWritePublisherPlugin as ProductLabelProductAbstractSearchWritePublisherPlugin; |
84
|
|
|
use Spryker\Zed\ProductLabelSearch\Communication\Plugin\Publisher\ProductLabelSearchPublisherTriggerPlugin; |
85
|
|
|
use Spryker\Zed\ProductLabelSearch\Communication\Plugin\Publisher\ProductLabelStore\ProductLabelStoreWritePublisherPlugin as ProductLabelStoreSearchWritePublisherPlugin; |
86
|
|
|
use Spryker\Zed\ProductLabelStorage\Communication\Plugin\Publisher\ProductAbstractLabel\ProductAbstractLabelWritePublisherPlugin as ProductAbstractLabelStorageWritePublisherPlugin; |
87
|
|
|
use Spryker\Zed\ProductLabelStorage\Communication\Plugin\Publisher\ProductAbstractLabelPublisherTriggerPlugin; |
88
|
|
|
use Spryker\Zed\ProductLabelStorage\Communication\Plugin\Publisher\ProductLabelDictionary\ProductLabelDictionaryDeletePublisherPlugin as ProductLabelDictionaryStorageDeletePublisherPlugin; |
89
|
|
|
use Spryker\Zed\ProductLabelStorage\Communication\Plugin\Publisher\ProductLabelDictionary\ProductLabelDictionaryWritePublisherPlugin as ProductLabelDictionaryStorageWritePublisherPlugin; |
90
|
|
|
use Spryker\Zed\ProductLabelStorage\Communication\Plugin\Publisher\ProductLabelDictionaryPublisherTriggerPlugin; |
91
|
|
|
use Spryker\Zed\ProductLabelStorage\Communication\Plugin\Publisher\ProductLabelProductAbstract\ProductLabelProductAbstractWritePublisherPlugin as ProductLabelProductAbstractStorageWritePublisherPlugin; |
92
|
|
|
use Spryker\Zed\ProductListSearch\Communication\Plugin\Publisher\ProductListSearchPublisherTriggerPlugin; |
93
|
|
|
use Spryker\Zed\ProductListStorage\Communication\Plugin\Publisher\ProductListPublisherTriggerPlugin; |
94
|
|
|
use Spryker\Zed\ProductPageSearch\Communication\Plugin\Publisher\CategoryStore\CategoryStoreProductAbstractPageSearchWritePublisherPlugin; |
95
|
|
|
use Spryker\Zed\ProductPageSearch\Communication\Plugin\Publisher\Product\ProductConcretePageSearchWritePublisherPlugin; |
96
|
|
|
use Spryker\Zed\ProductPageSearch\Communication\Plugin\Publisher\ProductConcretePublisherTriggerPlugin; |
97
|
|
|
use Spryker\Zed\ProductRelationStorage\Communication\Plugin\Publisher\ProductRelation\ProductRelationWriteForPublishingPublisherPlugin; |
98
|
|
|
use Spryker\Zed\ProductRelationStorage\Communication\Plugin\Publisher\ProductRelation\ProductRelationWritePublisherPlugin; |
99
|
|
|
use Spryker\Zed\ProductRelationStorage\Communication\Plugin\Publisher\ProductRelationProductAbstract\ProductRelationProductAbstractWritePublisherPlugin; |
100
|
|
|
use Spryker\Zed\ProductRelationStorage\Communication\Plugin\Publisher\ProductRelationPublisherTriggerPlugin; |
101
|
|
|
use Spryker\Zed\ProductRelationStorage\Communication\Plugin\Publisher\ProductRelationStore\ProductRelationStoreWritePublisherPlugin; |
102
|
|
|
use Spryker\Zed\PublishAndSynchronizeHealthCheckSearch\Communication\Plugin\Publisher\PublishAndSynchronizeHealthCheckSearchPublisherTriggerPlugin; |
103
|
|
|
use Spryker\Zed\PublishAndSynchronizeHealthCheckSearch\Communication\Plugin\Publisher\PublishAndSynchronizeHealthCheckSearchWritePublisherPlugin; |
104
|
|
|
use Spryker\Zed\PublishAndSynchronizeHealthCheckStorage\Communication\Plugin\Publisher\PublishAndSynchronizeHealthCheckPublisherTriggerPlugin; |
105
|
|
|
use Spryker\Zed\PublishAndSynchronizeHealthCheckStorage\Communication\Plugin\Publisher\PublishAndSynchronizeHealthCheckStorageWritePublisherPlugin; |
106
|
|
|
use Spryker\Zed\Publisher\PublisherDependencyProvider as SprykerPublisherDependencyProvider; |
107
|
|
|
use Spryker\Zed\SalesReturnSearch\Communication\Plugin\Publisher\ReturnReason\ReturnReasonDeletePublisherPlugin; |
108
|
|
|
use Spryker\Zed\SalesReturnSearch\Communication\Plugin\Publisher\ReturnReason\ReturnReasonWritePublisherPlugin; |
109
|
|
|
use Spryker\Zed\SalesReturnSearch\Communication\Plugin\Publisher\ReturnReasonPublisherTriggerPlugin; |
110
|
|
|
use Spryker\Zed\StoreContextStorage\Communication\Plugin\Publisher\ContextStoreWritePublisherPlugin; |
111
|
|
|
use Spryker\Zed\StoreStorage\Communication\Plugin\Publisher\CountryStore\CountryStoreWritePublisherPlugin; |
112
|
|
|
use Spryker\Zed\StoreStorage\Communication\Plugin\Publisher\CurrencyStore\CurrencyStoreWritePublisherPlugin; |
113
|
|
|
use Spryker\Zed\StoreStorage\Communication\Plugin\Publisher\LocaleStore\LocaleStoreWritePublisherPlugin; |
114
|
|
|
use Spryker\Zed\StoreStorage\Communication\Plugin\Publisher\Store\StoreSynchronizationTriggeringPublisherPlugin; |
115
|
|
|
use Spryker\Zed\StoreStorage\Communication\Plugin\Publisher\Store\StoreWritePublisherPlugin; |
116
|
|
|
use Spryker\Zed\TaxApp\Communication\Plugin\Publisher\Store\RefreshTaxAppStoreRelationPublisherPlugin; |
117
|
|
|
use Spryker\Zed\TaxProductStorage\Communication\Plugin\Publisher\TaxProductPublisherTriggerPlugin; |
118
|
|
|
use Spryker\Zed\TaxStorage\Communication\Plugin\Publisher\TaxSetPublisherTriggerPlugin; |
119
|
|
|
|
120
|
|
|
class PublisherDependencyProvider extends SprykerPublisherDependencyProvider |
121
|
|
|
{ |
122
|
|
|
/** |
123
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
124
|
|
|
*/ |
125
|
|
|
protected function getPublisherPlugins(): array |
126
|
|
|
{ |
127
|
|
|
return array_merge( |
128
|
|
|
$this->getPublishAndSynchronizeHealthCheckPlugins(), |
129
|
|
|
$this->getGlossaryStoragePlugins(), |
130
|
|
|
$this->getProductRelationStoragePlugins(), |
131
|
|
|
$this->getProductLabelStoragePlugins(), |
132
|
|
|
$this->getProductLabelSearchPlugins(), |
133
|
|
|
$this->getReturnReasonSearchPlugins(), |
134
|
|
|
$this->getProductBundleStoragePlugins(), |
135
|
|
|
$this->getProductConfigurationStoragePlugins(), |
136
|
|
|
$this->getCategoryStoragePlugins(), |
137
|
|
|
$this->getCategoryPageSearchPlugins(), |
138
|
|
|
$this->getProductPageSearchPlugins(), |
139
|
|
|
$this->getProductAbstractPageSearchPlugins(), |
140
|
|
|
$this->getProductCategoryStoragePlugins(), |
141
|
|
|
$this->getStoreStoragePlugins(), |
142
|
|
|
$this->getAssetStoragePlugins(), |
143
|
|
|
$this->getCustomerStoragePlugins(), |
144
|
|
|
$this->getProductMessageBrokerPlugins(), |
145
|
|
|
$this->getAssetPlugins(), |
146
|
|
|
$this->getTaxAppPlugins(), |
147
|
|
|
); |
148
|
|
|
} |
149
|
|
|
|
150
|
|
|
/** |
151
|
|
|
* @return array<mixed> |
152
|
|
|
*/ |
153
|
|
|
protected function getPublishAndSynchronizeHealthCheckPlugins(): array |
154
|
|
|
{ |
155
|
|
|
return [ |
156
|
|
|
PublishAndSynchronizeHealthCheckConfig::PUBLISH_PUBLISH_AND_SYNCHRONIZE_HEALTH_CHECK => [ |
157
|
|
|
new PublishAndSynchronizeHealthCheckStorageWritePublisherPlugin(), |
158
|
|
|
new PublishAndSynchronizeHealthCheckSearchWritePublisherPlugin(), |
159
|
|
|
], |
160
|
|
|
]; |
161
|
|
|
} |
162
|
|
|
|
163
|
|
|
/** |
164
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherTriggerPluginInterface> |
165
|
|
|
*/ |
166
|
|
|
protected function getPublisherTriggerPlugins(): array |
167
|
|
|
{ |
168
|
|
|
return [ |
169
|
|
|
new GlossaryPublisherTriggerPlugin(), |
170
|
|
|
new ProductRelationPublisherTriggerPlugin(), |
171
|
|
|
new ProductAbstractLabelPublisherTriggerPlugin(), |
172
|
|
|
new ProductLabelDictionaryPublisherTriggerPlugin(), |
173
|
|
|
new ReturnReasonPublisherTriggerPlugin(), |
174
|
|
|
new ProductBundlePublisherTriggerPlugin(), |
175
|
|
|
new ProductConfigurationPublisherTriggerPlugin(), |
176
|
|
|
new CategoryNodePublisherTriggerPlugin(), |
177
|
|
|
new CategoryTreePublisherTriggerPlugin(), |
178
|
|
|
new ProductCategoryPublisherTriggerPlugin(), |
179
|
|
|
new CategoryPagePublisherTriggerPlugin(), |
180
|
|
|
new ProductConcretePublisherTriggerPlugin(), |
181
|
|
|
new ProductAlternativePublisherTriggerPlugin(), |
182
|
|
|
new ProductDiscontinuedPublisherTriggerPlugin(), |
183
|
|
|
new TaxSetPublisherTriggerPlugin(), |
184
|
|
|
new TaxProductPublisherTriggerPlugin(), |
185
|
|
|
new PublishAndSynchronizeHealthCheckSearchPublisherTriggerPlugin(), |
186
|
|
|
new PublishAndSynchronizeHealthCheckPublisherTriggerPlugin(), |
187
|
|
|
new ProductListPublisherTriggerPlugin(), |
188
|
|
|
new ProductListSearchPublisherTriggerPlugin(), |
189
|
|
|
new ProductLabelSearchPublisherTriggerPlugin(), |
190
|
|
|
new CategoryImagePublisherTriggerPlugin(), |
191
|
|
|
new FileManagerPublisherTriggerPlugin(), |
192
|
|
|
new AssetPublisherTriggerPlugin(), |
193
|
|
|
new CustomerAccessPublisherTriggerPlugin(), |
194
|
|
|
]; |
195
|
|
|
} |
196
|
|
|
|
197
|
|
|
/** |
198
|
|
|
* @return array<int|string, \Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface>|array<string, array<int|string, \Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface>> |
199
|
|
|
*/ |
200
|
|
|
protected function getGlossaryStoragePlugins(): array |
201
|
|
|
{ |
202
|
|
|
return [ |
203
|
|
|
GlossaryStorageConfig::PUBLISH_TRANSLATION => [ |
204
|
|
|
new GlossaryKeyDeletePublisherPlugin(), |
205
|
|
|
new GlossaryKeyWriterPublisherPlugin(), |
206
|
|
|
new GlossaryTranslationWritePublisherPlugin(), |
207
|
|
|
], |
208
|
|
|
]; |
209
|
|
|
} |
210
|
|
|
|
211
|
|
|
/** |
212
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
213
|
|
|
*/ |
214
|
|
|
protected function getProductRelationStoragePlugins(): array |
215
|
|
|
{ |
216
|
|
|
return [ |
217
|
|
|
new ProductRelationWritePublisherPlugin(), |
218
|
|
|
new ProductRelationWriteForPublishingPublisherPlugin(), |
219
|
|
|
new ProductRelationProductAbstractWritePublisherPlugin(), |
220
|
|
|
new ProductRelationStoreWritePublisherPlugin(), |
221
|
|
|
]; |
222
|
|
|
} |
223
|
|
|
|
224
|
|
|
/** |
225
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
226
|
|
|
*/ |
227
|
|
|
protected function getProductConfigurationStoragePlugins(): array |
228
|
|
|
{ |
229
|
|
|
return [ |
230
|
|
|
new ProductConfigurationWritePublisherPlugin(), |
231
|
|
|
new ProductConfigurationDeletePublisherPlugin(), |
232
|
|
|
]; |
233
|
|
|
} |
234
|
|
|
|
235
|
|
|
/** |
236
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
237
|
|
|
*/ |
238
|
|
|
protected function getProductLabelStoragePlugins(): array |
239
|
|
|
{ |
240
|
|
|
return [ |
241
|
|
|
new ProductAbstractLabelStorageWritePublisherPlugin(), |
242
|
|
|
new ProductLabelProductAbstractStorageWritePublisherPlugin(), |
243
|
|
|
new ProductLabelDictionaryStorageWritePublisherPlugin(), |
244
|
|
|
new ProductLabelDictionaryStorageDeletePublisherPlugin(), |
245
|
|
|
new ProductLabelLocalizedAttributesWritePublisherPlugin(), |
246
|
|
|
]; |
247
|
|
|
} |
248
|
|
|
|
249
|
|
|
/** |
250
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
251
|
|
|
*/ |
252
|
|
|
protected function getProductLabelSearchPlugins(): array |
253
|
|
|
{ |
254
|
|
|
return [ |
255
|
|
|
new ProductLabelSearchWritePublisherPlugin(), |
256
|
|
|
new ProductLabelProductAbstractSearchWritePublisherPlugin(), |
257
|
|
|
new ProductLabelStoreSearchWritePublisherPlugin(), |
258
|
|
|
]; |
259
|
|
|
} |
260
|
|
|
|
261
|
|
|
/** |
262
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
263
|
|
|
*/ |
264
|
|
|
protected function getReturnReasonSearchPlugins(): array |
265
|
|
|
{ |
266
|
|
|
return [ |
267
|
|
|
new ReturnReasonWritePublisherPlugin(), |
268
|
|
|
new ReturnReasonDeletePublisherPlugin(), |
269
|
|
|
]; |
270
|
|
|
} |
271
|
|
|
|
272
|
|
|
/** |
273
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
274
|
|
|
*/ |
275
|
|
|
protected function getProductBundleStoragePlugins(): array |
276
|
|
|
{ |
277
|
|
|
return [ |
278
|
|
|
new ProductBundlePublishWritePublisherPlugin(), |
279
|
|
|
new ProductBundleWritePublisherPlugin(), |
280
|
|
|
new ProductConcreteProductBundleWritePublisherPlugin(), |
281
|
|
|
]; |
282
|
|
|
} |
283
|
|
|
|
284
|
|
|
/** |
285
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
286
|
|
|
*/ |
287
|
|
|
protected function getCategoryStoragePlugins(): array |
288
|
|
|
{ |
289
|
|
|
return [ |
290
|
|
|
new CategoryStoreStorageWritePublisherPlugin(), |
291
|
|
|
new CategoryStoreStorageWriteForPublishingPublisherPlugin(), |
292
|
|
|
new CategoryTreeWriteForPublishingPublisherPlugin(), |
293
|
|
|
new CategoryDeletePublisherPlugin(), |
294
|
|
|
new CategoryStoreCategoryWritePublisherPlugin(), |
295
|
|
|
new CategoryAttributeDeletePublisherPlugin(), |
296
|
|
|
new CategoryAttributeWritePublisherPlugin(), |
297
|
|
|
new CategoryNodeDeletePublisherPlugin(), |
298
|
|
|
new CategoryNodeWritePublisherPlugin(), |
299
|
|
|
new CategoryTemplateDeletePublisherPlugin(), |
300
|
|
|
new CategoryTemplateWritePublisherPlugin(), |
301
|
|
|
new CategoryTreeDeletePublisherPlugin(), |
302
|
|
|
new ParentWritePublisherPlugin(), |
303
|
|
|
]; |
304
|
|
|
} |
305
|
|
|
|
306
|
|
|
/** |
307
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
308
|
|
|
*/ |
309
|
|
|
protected function getCategoryPageSearchPlugins(): array |
310
|
|
|
{ |
311
|
|
|
return [ |
312
|
|
|
new CategoryStoreSearchWritePublisherPlugin(), |
313
|
|
|
new CategoryStoreSearchWriteForPublishingPublisherPlugin(), |
314
|
|
|
new CategoryPageSearchCategoryDeletePublisherPlugin(), |
315
|
|
|
new CategoryPageSearchCategoryWritePublisherPlugin(), |
316
|
|
|
new CategoryPageSearchCategoryAttributeDeletePublisherPlugin(), |
317
|
|
|
new CategoryPageSearchCategoryAttributeWritePublisherPlugin(), |
318
|
|
|
new CategoryPageSearchCategoryNodeDeletePublisherPlugin(), |
319
|
|
|
new CategoryPageSearchCategoryNodeWritePublisherPlugin(), |
320
|
|
|
new CategoryPageSearchCategoryTemplateDeletePublisherPlugin(), |
321
|
|
|
new CategoryPageSearchCategoryTemplateWritePublisherPlugin(), |
322
|
|
|
]; |
323
|
|
|
} |
324
|
|
|
|
325
|
|
|
/** |
326
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
327
|
|
|
*/ |
328
|
|
|
protected function getProductPageSearchPlugins(): array |
329
|
|
|
{ |
330
|
|
|
return [ |
331
|
|
|
new ProductConcretePageSearchWritePublisherPlugin(), |
332
|
|
|
]; |
333
|
|
|
} |
334
|
|
|
|
335
|
|
|
/** |
336
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
337
|
|
|
*/ |
338
|
|
|
protected function getProductCategoryStoragePlugins(): array |
339
|
|
|
{ |
340
|
|
|
return [ |
341
|
|
|
new CategoryStoreWritePublisherPlugin(), |
342
|
|
|
new CategoryStoreWriteForPublishingPublisherPlugin(), |
343
|
|
|
new CategoryStoreDeletePublisherPlugin(), |
344
|
|
|
new ProductCategoryStorageCategoryWritePublisherPlugin(), |
345
|
|
|
new CategoryIsActiveAndCategoryKeyWritePublisherPlugin(), |
346
|
|
|
new ProductCategoryAttributeWritePublisherPlugin(), |
347
|
|
|
new CategoryAttributeNameWritePublisherPlugin(), |
348
|
|
|
new ProductCategoryNodeWritePublisherPlugin(), |
349
|
|
|
new CategoryUrlWritePublisherPlugin(), |
350
|
|
|
new CategoryUrlAndResourceCategorynodeWritePublisherPlugin(), |
351
|
|
|
new ProductCategoryWriteForPublishingPublisherPlugin(), |
352
|
|
|
new ProductCategoryWritePublisherPlugin(), |
353
|
|
|
]; |
354
|
|
|
} |
355
|
|
|
|
356
|
|
|
/** |
357
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
358
|
|
|
*/ |
359
|
|
|
protected function getAssetStoragePlugins(): array |
360
|
|
|
{ |
361
|
|
|
return [ |
362
|
|
|
new AssetWritePublisherPlugin(), |
363
|
|
|
new AssetDeletePublisherPlugin(), |
364
|
|
|
]; |
365
|
|
|
} |
366
|
|
|
|
367
|
|
|
/** |
368
|
|
|
* @return array<int, \Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
369
|
|
|
*/ |
370
|
|
|
protected function getCustomerStoragePlugins(): array |
371
|
|
|
{ |
372
|
|
|
return [ |
373
|
|
|
new CustomerInvalidatedWritePublisherPlugin(), |
374
|
|
|
]; |
375
|
|
|
} |
376
|
|
|
|
377
|
|
|
/** |
378
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
379
|
|
|
*/ |
380
|
|
|
protected function getProductMessageBrokerPlugins(): array |
381
|
|
|
{ |
382
|
|
|
return [ |
383
|
|
|
new ProductConcreteExportedMessageBrokerPublisherPlugin(), |
384
|
|
|
new ProductConcreteCreatedMessageBrokerPublisherPlugin(), |
385
|
|
|
new ProductConcreteUpdatedMessageBrokerPublisherPlugin(), |
386
|
|
|
new ProductConcreteDeletedMessageBrokerPublisherPlugin(), |
387
|
|
|
new ProductAbstractUpdatedMessageBrokerPublisherPlugin(), |
388
|
|
|
new ProductCategoryProductUpdatedEventTriggerPlugin(), |
389
|
|
|
new ProductLabelProductUpdatedEventTriggerPlugin(), |
390
|
|
|
]; |
391
|
|
|
} |
392
|
|
|
|
393
|
|
|
/** |
394
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
395
|
|
|
*/ |
396
|
|
|
protected function getStoreStoragePlugins(): array |
397
|
|
|
{ |
398
|
|
|
return [ |
399
|
|
|
new StoreWritePublisherPlugin(), |
400
|
|
|
new StoreSynchronizationTriggeringPublisherPlugin(), |
401
|
|
|
new CurrencyStoreWritePublisherPlugin(), |
402
|
|
|
new CountryStoreWritePublisherPlugin(), |
403
|
|
|
new LocaleStoreWritePublisherPlugin(), |
404
|
|
|
new ContextStoreWritePublisherPlugin(), |
405
|
|
|
]; |
406
|
|
|
} |
407
|
|
|
|
408
|
|
|
/** |
409
|
|
|
* @return list<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
|
|
|
|
410
|
|
|
*/ |
411
|
|
|
public function getProductAbstractPageSearchPlugins(): array |
412
|
|
|
{ |
413
|
|
|
return [ |
|
|
|
|
414
|
|
|
new CategoryStoreProductAbstractPageSearchWritePublisherPlugin(), |
415
|
|
|
]; |
416
|
|
|
} |
417
|
|
|
|
418
|
|
|
/** |
419
|
|
|
* @return list<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
420
|
|
|
*/ |
421
|
|
|
public function getAssetPlugins(): array |
422
|
|
|
{ |
423
|
|
|
return [ |
|
|
|
|
424
|
|
|
new RefreshAssetStoreRelationPublisherPlugin(), |
425
|
|
|
]; |
426
|
|
|
} |
427
|
|
|
|
428
|
|
|
/** |
429
|
|
|
* @return list<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
430
|
|
|
*/ |
431
|
|
|
public function getTaxAppPlugins(): array |
432
|
|
|
{ |
433
|
|
|
return [ |
|
|
|
|
434
|
|
|
new RefreshTaxAppStoreRelationPublisherPlugin(), |
435
|
|
|
]; |
436
|
|
|
} |
437
|
|
|
} |
438
|
|
|
|
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths