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\Cms\Communication\Plugin\Publisher\CmsPageUpdateMessageBrokerPublisherPlugin; |
46
|
|
|
use Spryker\Zed\Cms\Communication\Plugin\Publisher\CmsPageVersionPublishedMessageBrokerPublisherPlugin; |
47
|
|
|
use Spryker\Zed\CustomerAccessStorage\Communication\Plugin\Publisher\CustomerAccessPublisherTriggerPlugin; |
48
|
|
|
use Spryker\Zed\CustomerStorage\Communication\Plugin\Publisher\Customer\CustomerInvalidatedWritePublisherPlugin; |
49
|
|
|
use Spryker\Zed\FileManagerStorage\Communication\Plugin\Publisher\FileManagerPublisherTriggerPlugin; |
50
|
|
|
use Spryker\Zed\GlossaryStorage\Communication\Plugin\Publisher\GlossaryKey\GlossaryDeletePublisherPlugin as GlossaryKeyDeletePublisherPlugin; |
51
|
|
|
use Spryker\Zed\GlossaryStorage\Communication\Plugin\Publisher\GlossaryKey\GlossaryWritePublisherPlugin as GlossaryKeyWriterPublisherPlugin; |
52
|
|
|
use Spryker\Zed\GlossaryStorage\Communication\Plugin\Publisher\GlossaryPublisherTriggerPlugin; |
53
|
|
|
use Spryker\Zed\GlossaryStorage\Communication\Plugin\Publisher\GlossaryTranslation\GlossaryWritePublisherPlugin as GlossaryTranslationWritePublisherPlugin; |
54
|
|
|
use Spryker\Zed\Product\Communication\Plugin\Publisher\ProductAbstractUpdatedMessageBrokerPublisherPlugin; |
55
|
|
|
use Spryker\Zed\Product\Communication\Plugin\Publisher\ProductConcreteCreatedMessageBrokerPublisherPlugin; |
56
|
|
|
use Spryker\Zed\Product\Communication\Plugin\Publisher\ProductConcreteDeletedMessageBrokerPublisherPlugin; |
57
|
|
|
use Spryker\Zed\Product\Communication\Plugin\Publisher\ProductConcreteExportedMessageBrokerPublisherPlugin; |
58
|
|
|
use Spryker\Zed\Product\Communication\Plugin\Publisher\ProductConcreteUpdatedMessageBrokerPublisherPlugin; |
59
|
|
|
use Spryker\Zed\ProductAlternativeStorage\Communication\Plugin\Publisher\ProductAlternativePublisherTriggerPlugin; |
60
|
|
|
use Spryker\Zed\ProductBundleStorage\Communication\Plugin\Publisher\ProductBundle\ProductBundlePublishWritePublisherPlugin; |
61
|
|
|
use Spryker\Zed\ProductBundleStorage\Communication\Plugin\Publisher\ProductBundle\ProductBundleWritePublisherPlugin; |
62
|
|
|
use Spryker\Zed\ProductBundleStorage\Communication\Plugin\Publisher\ProductBundlePublisherTriggerPlugin; |
63
|
|
|
use Spryker\Zed\ProductBundleStorage\Communication\Plugin\Publisher\ProductConcrete\ProductBundleWritePublisherPlugin as ProductConcreteProductBundleWritePublisherPlugin; |
64
|
|
|
use Spryker\Zed\ProductCategory\Communication\Plugin\Publisher\ProductCategoryProductUpdatedEventTriggerPlugin; |
65
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\Category\CategoryIsActiveAndCategoryKeyWritePublisherPlugin; |
66
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\Category\CategoryStoreDeletePublisherPlugin; |
67
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\Category\CategoryStoreWriteForPublishingPublisherPlugin; |
68
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\Category\CategoryStoreWritePublisherPlugin; |
69
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\Category\CategoryWritePublisherPlugin as ProductCategoryStorageCategoryWritePublisherPlugin; |
70
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\CategoryAttribute\CategoryAttributeNameWritePublisherPlugin; |
71
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\CategoryAttribute\CategoryAttributeWritePublisherPlugin as ProductCategoryAttributeWritePublisherPlugin; |
72
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\CategoryNode\CategoryNodeWritePublisherPlugin as ProductCategoryNodeWritePublisherPlugin; |
73
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\CategoryUrl\CategoryUrlAndResourceCategorynodeWritePublisherPlugin; |
74
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\CategoryUrl\CategoryUrlWritePublisherPlugin; |
75
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\ProductCategory\ProductCategoryWriteForPublishingPublisherPlugin; |
76
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\ProductCategory\ProductCategoryWritePublisherPlugin; |
77
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\ProductCategoryPublisherTriggerPlugin; |
78
|
|
|
use Spryker\Zed\ProductConfigurationStorage\Communication\Plugin\Publisher\ProductConfiguration\ProductConfigurationDeletePublisherPlugin; |
79
|
|
|
use Spryker\Zed\ProductConfigurationStorage\Communication\Plugin\Publisher\ProductConfiguration\ProductConfigurationWritePublisherPlugin; |
80
|
|
|
use Spryker\Zed\ProductConfigurationStorage\Communication\Plugin\Publisher\ProductConfigurationPublisherTriggerPlugin; |
81
|
|
|
use Spryker\Zed\ProductDiscontinuedStorage\Communication\Plugin\Publisher\ProductDiscontinuedPublisherTriggerPlugin; |
82
|
|
|
use Spryker\Zed\ProductLabel\Communication\Plugin\Publisher\ProductLabelLocalizedAttributesWritePublisherPlugin; |
83
|
|
|
use Spryker\Zed\ProductLabel\Communication\Plugin\Publisher\ProductLabelProductUpdatedEventTriggerPlugin; |
84
|
|
|
use Spryker\Zed\ProductLabelSearch\Communication\Plugin\Publisher\ProductLabel\ProductLabelWritePublisherPlugin as ProductLabelSearchWritePublisherPlugin; |
85
|
|
|
use Spryker\Zed\ProductLabelSearch\Communication\Plugin\Publisher\ProductLabelProductAbstract\ProductLabelProductAbstractWritePublisherPlugin as ProductLabelProductAbstractSearchWritePublisherPlugin; |
86
|
|
|
use Spryker\Zed\ProductLabelSearch\Communication\Plugin\Publisher\ProductLabelSearchPublisherTriggerPlugin; |
87
|
|
|
use Spryker\Zed\ProductLabelSearch\Communication\Plugin\Publisher\ProductLabelStore\ProductLabelStoreWritePublisherPlugin as ProductLabelStoreSearchWritePublisherPlugin; |
88
|
|
|
use Spryker\Zed\ProductLabelStorage\Communication\Plugin\Publisher\ProductAbstractLabel\ProductAbstractLabelWritePublisherPlugin as ProductAbstractLabelStorageWritePublisherPlugin; |
89
|
|
|
use Spryker\Zed\ProductLabelStorage\Communication\Plugin\Publisher\ProductAbstractLabelPublisherTriggerPlugin; |
90
|
|
|
use Spryker\Zed\ProductLabelStorage\Communication\Plugin\Publisher\ProductLabelDictionary\ProductLabelDictionaryDeletePublisherPlugin as ProductLabelDictionaryStorageDeletePublisherPlugin; |
91
|
|
|
use Spryker\Zed\ProductLabelStorage\Communication\Plugin\Publisher\ProductLabelDictionary\ProductLabelDictionaryWritePublisherPlugin as ProductLabelDictionaryStorageWritePublisherPlugin; |
92
|
|
|
use Spryker\Zed\ProductLabelStorage\Communication\Plugin\Publisher\ProductLabelDictionaryPublisherTriggerPlugin; |
93
|
|
|
use Spryker\Zed\ProductLabelStorage\Communication\Plugin\Publisher\ProductLabelProductAbstract\ProductLabelProductAbstractWritePublisherPlugin as ProductLabelProductAbstractStorageWritePublisherPlugin; |
94
|
|
|
use Spryker\Zed\ProductListSearch\Communication\Plugin\Publisher\ProductListSearchPublisherTriggerPlugin; |
95
|
|
|
use Spryker\Zed\ProductListStorage\Communication\Plugin\Publisher\ProductListPublisherTriggerPlugin; |
96
|
|
|
use Spryker\Zed\ProductPageSearch\Communication\Plugin\Publisher\CategoryStore\CategoryStoreProductAbstractPageSearchWritePublisherPlugin; |
97
|
|
|
use Spryker\Zed\ProductPageSearch\Communication\Plugin\Publisher\Product\ProductConcretePageSearchWritePublisherPlugin; |
98
|
|
|
use Spryker\Zed\ProductPageSearch\Communication\Plugin\Publisher\ProductConcretePublisherTriggerPlugin; |
99
|
|
|
use Spryker\Zed\ProductRelationStorage\Communication\Plugin\Publisher\ProductRelation\ProductRelationWriteForPublishingPublisherPlugin; |
100
|
|
|
use Spryker\Zed\ProductRelationStorage\Communication\Plugin\Publisher\ProductRelation\ProductRelationWritePublisherPlugin; |
101
|
|
|
use Spryker\Zed\ProductRelationStorage\Communication\Plugin\Publisher\ProductRelationProductAbstract\ProductRelationProductAbstractWritePublisherPlugin; |
102
|
|
|
use Spryker\Zed\ProductRelationStorage\Communication\Plugin\Publisher\ProductRelationPublisherTriggerPlugin; |
103
|
|
|
use Spryker\Zed\ProductRelationStorage\Communication\Plugin\Publisher\ProductRelationStore\ProductRelationStoreWritePublisherPlugin; |
104
|
|
|
use Spryker\Zed\ProductStorage\Communication\Plugin\Publisher\ProductAbstract\ProductLocalizedAttributesProductAbstractWritePublisherPlugin; |
105
|
|
|
use Spryker\Zed\PublishAndSynchronizeHealthCheckSearch\Communication\Plugin\Publisher\PublishAndSynchronizeHealthCheckSearchPublisherTriggerPlugin; |
106
|
|
|
use Spryker\Zed\PublishAndSynchronizeHealthCheckSearch\Communication\Plugin\Publisher\PublishAndSynchronizeHealthCheckSearchWritePublisherPlugin; |
107
|
|
|
use Spryker\Zed\PublishAndSynchronizeHealthCheckStorage\Communication\Plugin\Publisher\PublishAndSynchronizeHealthCheckPublisherTriggerPlugin; |
108
|
|
|
use Spryker\Zed\PublishAndSynchronizeHealthCheckStorage\Communication\Plugin\Publisher\PublishAndSynchronizeHealthCheckStorageWritePublisherPlugin; |
109
|
|
|
use Spryker\Zed\Publisher\PublisherDependencyProvider as SprykerPublisherDependencyProvider; |
110
|
|
|
use Spryker\Zed\SalesReturnSearch\Communication\Plugin\Publisher\ReturnReason\ReturnReasonDeletePublisherPlugin; |
111
|
|
|
use Spryker\Zed\SalesReturnSearch\Communication\Plugin\Publisher\ReturnReason\ReturnReasonWritePublisherPlugin; |
112
|
|
|
use Spryker\Zed\SalesReturnSearch\Communication\Plugin\Publisher\ReturnReasonPublisherTriggerPlugin; |
113
|
|
|
use Spryker\Zed\StoreContextStorage\Communication\Plugin\Publisher\ContextStoreWritePublisherPlugin; |
114
|
|
|
use Spryker\Zed\StoreStorage\Communication\Plugin\Publisher\CountryStore\CountryStoreWritePublisherPlugin; |
115
|
|
|
use Spryker\Zed\StoreStorage\Communication\Plugin\Publisher\CurrencyStore\CurrencyStoreWritePublisherPlugin; |
116
|
|
|
use Spryker\Zed\StoreStorage\Communication\Plugin\Publisher\LocaleStore\LocaleStoreWritePublisherPlugin; |
117
|
|
|
use Spryker\Zed\StoreStorage\Communication\Plugin\Publisher\Store\StoreSynchronizationTriggeringPublisherPlugin; |
118
|
|
|
use Spryker\Zed\StoreStorage\Communication\Plugin\Publisher\Store\StoreWritePublisherPlugin; |
119
|
|
|
use Spryker\Zed\TaxApp\Communication\Plugin\Publisher\Store\RefreshTaxAppStoreRelationPublisherPlugin; |
120
|
|
|
use Spryker\Zed\TaxProductStorage\Communication\Plugin\Publisher\TaxProductPublisherTriggerPlugin; |
121
|
|
|
use Spryker\Zed\TaxStorage\Communication\Plugin\Publisher\TaxSetPublisherTriggerPlugin; |
122
|
|
|
|
123
|
|
|
class PublisherDependencyProvider extends SprykerPublisherDependencyProvider |
124
|
|
|
{ |
125
|
|
|
/** |
126
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
127
|
|
|
*/ |
128
|
|
|
protected function getPublisherPlugins(): array |
129
|
|
|
{ |
130
|
|
|
return array_merge( |
131
|
|
|
$this->getPublishAndSynchronizeHealthCheckPlugins(), |
132
|
|
|
$this->getGlossaryStoragePlugins(), |
133
|
|
|
$this->getProductRelationStoragePlugins(), |
134
|
|
|
$this->getProductLabelStoragePlugins(), |
135
|
|
|
$this->getProductLabelSearchPlugins(), |
136
|
|
|
$this->getReturnReasonSearchPlugins(), |
137
|
|
|
$this->getProductBundleStoragePlugins(), |
138
|
|
|
$this->getProductConfigurationStoragePlugins(), |
139
|
|
|
$this->getCategoryStoragePlugins(), |
140
|
|
|
$this->getCategoryPageSearchPlugins(), |
141
|
|
|
$this->getProductPageSearchPlugins(), |
142
|
|
|
$this->getProductAbstractPageSearchPlugins(), |
143
|
|
|
$this->getProductCategoryStoragePlugins(), |
144
|
|
|
$this->getStoreStoragePlugins(), |
145
|
|
|
$this->getAssetStoragePlugins(), |
146
|
|
|
$this->getCustomerStoragePlugins(), |
147
|
|
|
$this->getProductMessageBrokerPlugins(), |
148
|
|
|
$this->getAssetPlugins(), |
149
|
|
|
$this->getTaxAppPlugins(), |
150
|
|
|
$this->getProductStoragePlugins(), |
151
|
|
|
$this->getCmsPageMessageBrokerPlugins(), |
152
|
|
|
); |
153
|
|
|
} |
154
|
|
|
|
155
|
|
|
/** |
156
|
|
|
* @return array<mixed> |
157
|
|
|
*/ |
158
|
|
|
protected function getPublishAndSynchronizeHealthCheckPlugins(): array |
159
|
|
|
{ |
160
|
|
|
return [ |
161
|
|
|
PublishAndSynchronizeHealthCheckConfig::PUBLISH_PUBLISH_AND_SYNCHRONIZE_HEALTH_CHECK => [ |
162
|
|
|
new PublishAndSynchronizeHealthCheckStorageWritePublisherPlugin(), |
163
|
|
|
new PublishAndSynchronizeHealthCheckSearchWritePublisherPlugin(), |
164
|
|
|
], |
165
|
|
|
]; |
166
|
|
|
} |
167
|
|
|
|
168
|
|
|
/** |
169
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherTriggerPluginInterface> |
170
|
|
|
*/ |
171
|
|
|
protected function getPublisherTriggerPlugins(): array |
172
|
|
|
{ |
173
|
|
|
return [ |
174
|
|
|
new GlossaryPublisherTriggerPlugin(), |
175
|
|
|
new ProductRelationPublisherTriggerPlugin(), |
176
|
|
|
new ProductAbstractLabelPublisherTriggerPlugin(), |
177
|
|
|
new ProductLabelDictionaryPublisherTriggerPlugin(), |
178
|
|
|
new ReturnReasonPublisherTriggerPlugin(), |
179
|
|
|
new ProductBundlePublisherTriggerPlugin(), |
180
|
|
|
new ProductConfigurationPublisherTriggerPlugin(), |
181
|
|
|
new CategoryNodePublisherTriggerPlugin(), |
182
|
|
|
new CategoryTreePublisherTriggerPlugin(), |
183
|
|
|
new ProductCategoryPublisherTriggerPlugin(), |
184
|
|
|
new CategoryPagePublisherTriggerPlugin(), |
185
|
|
|
new ProductConcretePublisherTriggerPlugin(), |
186
|
|
|
new ProductAlternativePublisherTriggerPlugin(), |
187
|
|
|
new ProductDiscontinuedPublisherTriggerPlugin(), |
188
|
|
|
new TaxSetPublisherTriggerPlugin(), |
189
|
|
|
new TaxProductPublisherTriggerPlugin(), |
190
|
|
|
new PublishAndSynchronizeHealthCheckSearchPublisherTriggerPlugin(), |
191
|
|
|
new PublishAndSynchronizeHealthCheckPublisherTriggerPlugin(), |
192
|
|
|
new ProductListPublisherTriggerPlugin(), |
193
|
|
|
new ProductListSearchPublisherTriggerPlugin(), |
194
|
|
|
new ProductLabelSearchPublisherTriggerPlugin(), |
195
|
|
|
new CategoryImagePublisherTriggerPlugin(), |
196
|
|
|
new FileManagerPublisherTriggerPlugin(), |
197
|
|
|
new AssetPublisherTriggerPlugin(), |
198
|
|
|
new CustomerAccessPublisherTriggerPlugin(), |
199
|
|
|
]; |
200
|
|
|
} |
201
|
|
|
|
202
|
|
|
/** |
203
|
|
|
* @return array<int|string, \Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface>|array<string, array<int|string, \Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface>> |
204
|
|
|
*/ |
205
|
|
|
protected function getGlossaryStoragePlugins(): array |
206
|
|
|
{ |
207
|
|
|
return [ |
208
|
|
|
GlossaryStorageConfig::PUBLISH_TRANSLATION => [ |
209
|
|
|
new GlossaryKeyDeletePublisherPlugin(), |
210
|
|
|
new GlossaryKeyWriterPublisherPlugin(), |
211
|
|
|
new GlossaryTranslationWritePublisherPlugin(), |
212
|
|
|
], |
213
|
|
|
]; |
214
|
|
|
} |
215
|
|
|
|
216
|
|
|
/** |
217
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
218
|
|
|
*/ |
219
|
|
|
protected function getProductRelationStoragePlugins(): array |
220
|
|
|
{ |
221
|
|
|
return [ |
222
|
|
|
new ProductRelationWritePublisherPlugin(), |
223
|
|
|
new ProductRelationWriteForPublishingPublisherPlugin(), |
224
|
|
|
new ProductRelationProductAbstractWritePublisherPlugin(), |
225
|
|
|
new ProductRelationStoreWritePublisherPlugin(), |
226
|
|
|
]; |
227
|
|
|
} |
228
|
|
|
|
229
|
|
|
/** |
230
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
231
|
|
|
*/ |
232
|
|
|
protected function getProductConfigurationStoragePlugins(): array |
233
|
|
|
{ |
234
|
|
|
return [ |
235
|
|
|
new ProductConfigurationWritePublisherPlugin(), |
236
|
|
|
new ProductConfigurationDeletePublisherPlugin(), |
237
|
|
|
]; |
238
|
|
|
} |
239
|
|
|
|
240
|
|
|
/** |
241
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
242
|
|
|
*/ |
243
|
|
|
protected function getProductLabelStoragePlugins(): array |
244
|
|
|
{ |
245
|
|
|
return [ |
246
|
|
|
new ProductAbstractLabelStorageWritePublisherPlugin(), |
247
|
|
|
new ProductLabelProductAbstractStorageWritePublisherPlugin(), |
248
|
|
|
new ProductLabelDictionaryStorageWritePublisherPlugin(), |
249
|
|
|
new ProductLabelDictionaryStorageDeletePublisherPlugin(), |
250
|
|
|
new ProductLabelLocalizedAttributesWritePublisherPlugin(), |
251
|
|
|
]; |
252
|
|
|
} |
253
|
|
|
|
254
|
|
|
/** |
255
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
256
|
|
|
*/ |
257
|
|
|
protected function getProductLabelSearchPlugins(): array |
258
|
|
|
{ |
259
|
|
|
return [ |
260
|
|
|
new ProductLabelSearchWritePublisherPlugin(), |
261
|
|
|
new ProductLabelProductAbstractSearchWritePublisherPlugin(), |
262
|
|
|
new ProductLabelStoreSearchWritePublisherPlugin(), |
263
|
|
|
]; |
264
|
|
|
} |
265
|
|
|
|
266
|
|
|
/** |
267
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
268
|
|
|
*/ |
269
|
|
|
protected function getReturnReasonSearchPlugins(): array |
270
|
|
|
{ |
271
|
|
|
return [ |
272
|
|
|
new ReturnReasonWritePublisherPlugin(), |
273
|
|
|
new ReturnReasonDeletePublisherPlugin(), |
274
|
|
|
]; |
275
|
|
|
} |
276
|
|
|
|
277
|
|
|
/** |
278
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
279
|
|
|
*/ |
280
|
|
|
protected function getProductBundleStoragePlugins(): array |
281
|
|
|
{ |
282
|
|
|
return [ |
283
|
|
|
new ProductBundlePublishWritePublisherPlugin(), |
284
|
|
|
new ProductBundleWritePublisherPlugin(), |
285
|
|
|
new ProductConcreteProductBundleWritePublisherPlugin(), |
286
|
|
|
]; |
287
|
|
|
} |
288
|
|
|
|
289
|
|
|
/** |
290
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
291
|
|
|
*/ |
292
|
|
|
protected function getCategoryStoragePlugins(): array |
293
|
|
|
{ |
294
|
|
|
return [ |
295
|
|
|
new CategoryStoreStorageWritePublisherPlugin(), |
296
|
|
|
new CategoryStoreStorageWriteForPublishingPublisherPlugin(), |
297
|
|
|
new CategoryTreeWriteForPublishingPublisherPlugin(), |
298
|
|
|
new CategoryDeletePublisherPlugin(), |
299
|
|
|
new CategoryStoreCategoryWritePublisherPlugin(), |
300
|
|
|
new CategoryAttributeDeletePublisherPlugin(), |
301
|
|
|
new CategoryAttributeWritePublisherPlugin(), |
302
|
|
|
new CategoryNodeDeletePublisherPlugin(), |
303
|
|
|
new CategoryNodeWritePublisherPlugin(), |
304
|
|
|
new CategoryTemplateDeletePublisherPlugin(), |
305
|
|
|
new CategoryTemplateWritePublisherPlugin(), |
306
|
|
|
new CategoryTreeDeletePublisherPlugin(), |
307
|
|
|
new ParentWritePublisherPlugin(), |
308
|
|
|
]; |
309
|
|
|
} |
310
|
|
|
|
311
|
|
|
/** |
312
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
313
|
|
|
*/ |
314
|
|
|
protected function getCategoryPageSearchPlugins(): array |
315
|
|
|
{ |
316
|
|
|
return [ |
317
|
|
|
new CategoryStoreSearchWritePublisherPlugin(), |
318
|
|
|
new CategoryStoreSearchWriteForPublishingPublisherPlugin(), |
319
|
|
|
new CategoryPageSearchCategoryDeletePublisherPlugin(), |
320
|
|
|
new CategoryPageSearchCategoryWritePublisherPlugin(), |
321
|
|
|
new CategoryPageSearchCategoryAttributeDeletePublisherPlugin(), |
322
|
|
|
new CategoryPageSearchCategoryAttributeWritePublisherPlugin(), |
323
|
|
|
new CategoryPageSearchCategoryNodeDeletePublisherPlugin(), |
324
|
|
|
new CategoryPageSearchCategoryNodeWritePublisherPlugin(), |
325
|
|
|
new CategoryPageSearchCategoryTemplateDeletePublisherPlugin(), |
326
|
|
|
new CategoryPageSearchCategoryTemplateWritePublisherPlugin(), |
327
|
|
|
]; |
328
|
|
|
} |
329
|
|
|
|
330
|
|
|
/** |
331
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
332
|
|
|
*/ |
333
|
|
|
protected function getProductPageSearchPlugins(): array |
334
|
|
|
{ |
335
|
|
|
return [ |
336
|
|
|
new ProductConcretePageSearchWritePublisherPlugin(), |
337
|
|
|
]; |
338
|
|
|
} |
339
|
|
|
|
340
|
|
|
/** |
341
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
342
|
|
|
*/ |
343
|
|
|
protected function getProductCategoryStoragePlugins(): array |
344
|
|
|
{ |
345
|
|
|
return [ |
346
|
|
|
new CategoryStoreWritePublisherPlugin(), |
347
|
|
|
new CategoryStoreWriteForPublishingPublisherPlugin(), |
348
|
|
|
new CategoryStoreDeletePublisherPlugin(), |
349
|
|
|
new ProductCategoryStorageCategoryWritePublisherPlugin(), |
350
|
|
|
new CategoryIsActiveAndCategoryKeyWritePublisherPlugin(), |
351
|
|
|
new ProductCategoryAttributeWritePublisherPlugin(), |
352
|
|
|
new CategoryAttributeNameWritePublisherPlugin(), |
353
|
|
|
new ProductCategoryNodeWritePublisherPlugin(), |
354
|
|
|
new CategoryUrlWritePublisherPlugin(), |
355
|
|
|
new CategoryUrlAndResourceCategorynodeWritePublisherPlugin(), |
356
|
|
|
new ProductCategoryWriteForPublishingPublisherPlugin(), |
357
|
|
|
new ProductCategoryWritePublisherPlugin(), |
358
|
|
|
]; |
359
|
|
|
} |
360
|
|
|
|
361
|
|
|
/** |
362
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
363
|
|
|
*/ |
364
|
|
|
protected function getAssetStoragePlugins(): array |
365
|
|
|
{ |
366
|
|
|
return [ |
367
|
|
|
new AssetWritePublisherPlugin(), |
368
|
|
|
new AssetDeletePublisherPlugin(), |
369
|
|
|
]; |
370
|
|
|
} |
371
|
|
|
|
372
|
|
|
/** |
373
|
|
|
* @return array<int, \Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
374
|
|
|
*/ |
375
|
|
|
protected function getCustomerStoragePlugins(): array |
376
|
|
|
{ |
377
|
|
|
return [ |
378
|
|
|
new CustomerInvalidatedWritePublisherPlugin(), |
379
|
|
|
]; |
380
|
|
|
} |
381
|
|
|
|
382
|
|
|
/** |
383
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
384
|
|
|
*/ |
385
|
|
|
protected function getProductMessageBrokerPlugins(): array |
386
|
|
|
{ |
387
|
|
|
return [ |
388
|
|
|
new ProductConcreteExportedMessageBrokerPublisherPlugin(), |
389
|
|
|
new ProductConcreteCreatedMessageBrokerPublisherPlugin(), |
390
|
|
|
new ProductConcreteUpdatedMessageBrokerPublisherPlugin(), |
391
|
|
|
new ProductConcreteDeletedMessageBrokerPublisherPlugin(), |
392
|
|
|
new ProductAbstractUpdatedMessageBrokerPublisherPlugin(), |
393
|
|
|
new ProductCategoryProductUpdatedEventTriggerPlugin(), |
394
|
|
|
new ProductLabelProductUpdatedEventTriggerPlugin(), |
395
|
|
|
]; |
396
|
|
|
} |
397
|
|
|
|
398
|
|
|
/** |
399
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
400
|
|
|
*/ |
401
|
|
|
protected function getStoreStoragePlugins(): array |
402
|
|
|
{ |
403
|
|
|
return [ |
404
|
|
|
new StoreWritePublisherPlugin(), |
405
|
|
|
new StoreSynchronizationTriggeringPublisherPlugin(), |
406
|
|
|
new CurrencyStoreWritePublisherPlugin(), |
407
|
|
|
new CountryStoreWritePublisherPlugin(), |
408
|
|
|
new LocaleStoreWritePublisherPlugin(), |
409
|
|
|
new ContextStoreWritePublisherPlugin(), |
410
|
|
|
]; |
411
|
|
|
} |
412
|
|
|
|
413
|
|
|
/** |
414
|
|
|
* @return list<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
|
|
|
|
415
|
|
|
*/ |
416
|
|
|
public function getProductAbstractPageSearchPlugins(): array |
417
|
|
|
{ |
418
|
|
|
return [ |
|
|
|
|
419
|
|
|
new CategoryStoreProductAbstractPageSearchWritePublisherPlugin(), |
420
|
|
|
]; |
421
|
|
|
} |
422
|
|
|
|
423
|
|
|
/** |
424
|
|
|
* @return list<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
425
|
|
|
*/ |
426
|
|
|
public function getAssetPlugins(): array |
427
|
|
|
{ |
428
|
|
|
return [ |
|
|
|
|
429
|
|
|
new RefreshAssetStoreRelationPublisherPlugin(), |
430
|
|
|
]; |
431
|
|
|
} |
432
|
|
|
|
433
|
|
|
/** |
434
|
|
|
* @return list<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
435
|
|
|
*/ |
436
|
|
|
public function getTaxAppPlugins(): array |
437
|
|
|
{ |
438
|
|
|
return [ |
|
|
|
|
439
|
|
|
new RefreshTaxAppStoreRelationPublisherPlugin(), |
440
|
|
|
]; |
441
|
|
|
} |
442
|
|
|
|
443
|
|
|
/** |
444
|
|
|
* @return list<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
445
|
|
|
*/ |
446
|
|
|
protected function getProductStoragePlugins(): array |
447
|
|
|
{ |
448
|
|
|
return [ |
|
|
|
|
449
|
|
|
new ProductLocalizedAttributesProductAbstractWritePublisherPlugin(), |
450
|
|
|
]; |
451
|
|
|
} |
452
|
|
|
|
453
|
|
|
/** |
454
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
455
|
|
|
*/ |
456
|
|
|
protected function getCmsPageMessageBrokerPlugins(): array |
457
|
|
|
{ |
458
|
|
|
return [ |
459
|
|
|
new CmsPageVersionPublishedMessageBrokerPublisherPlugin(), |
460
|
|
|
new CmsPageUpdateMessageBrokerPublisherPlugin(), |
461
|
|
|
]; |
462
|
|
|
} |
463
|
|
|
} |
464
|
|
|
|
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