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\MerchantStorage\MerchantStorageConfig; |
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\MerchantCategory\Communication\Plugin\Publisher\Category\CategoryWritePublisherPlugin; |
55
|
|
|
use Spryker\Zed\MerchantOpeningHoursStorage\Communication\Plugin\Publisher\MerchantOpeningHours\MerchantOpeningHoursDateScheduleWritePublisherPlugin; |
56
|
|
|
use Spryker\Zed\MerchantOpeningHoursStorage\Communication\Plugin\Publisher\MerchantOpeningHours\MerchantOpeningHoursWeekdayScheduleWritePublisherPlugin; |
57
|
|
|
use Spryker\Zed\MerchantOpeningHoursStorage\Communication\Plugin\Publisher\MerchantOpeningHours\MerchantOpeningHoursWritePublisherPlugin; |
58
|
|
|
use Spryker\Zed\MerchantProductOfferSearch\Communication\Plugin\Publisher\MerchantProductOfferSearchPublisherTriggerPlugin; |
59
|
|
|
use Spryker\Zed\MerchantProductOfferSearch\Communication\Plugin\Publisher\ProductOffer\ProductConcreteWritePublisherPlugin as ProductOfferProductConcreteWritePublisherPlugin; |
60
|
|
|
use Spryker\Zed\MerchantProductOfferSearch\Communication\Plugin\Publisher\ProductOfferStore\ProductConcreteWritePublisherPlugin as ProductOfferStoreProductConcreteWritePublisherPlugin; |
61
|
|
|
use Spryker\Zed\MerchantProductOfferStorage\Communication\Plugin\Publisher\Merchant\MerchantProductOfferWritePublisherPlugin; |
62
|
|
|
use Spryker\Zed\MerchantProductOfferStorage\Communication\Plugin\Publisher\ProductConcreteProductOffer\MerchantProductConcreteProductOfferWritePublisherPlugin; |
63
|
|
|
use Spryker\Zed\MerchantProductOptionStorage\Communication\Plugin\Publisher\MerchantProductOption\MerchantProductOptionGroupWritePublisherPlugin; |
64
|
|
|
use Spryker\Zed\MerchantProductOptionStorage\Communication\Plugin\Publisher\MerchantProductOptionGroupPublisherTriggerPlugin; |
65
|
|
|
use Spryker\Zed\MerchantProductSearch\Communication\Plugin\Publisher\Merchant\MerchantProductSearchWritePublisherPlugin as MerchantMerchantProductSearchWritePublisherPlugin; |
66
|
|
|
use Spryker\Zed\MerchantProductSearch\Communication\Plugin\Publisher\MerchantProduct\MerchantProductSearchWritePublisherPlugin; |
67
|
|
|
use Spryker\Zed\MerchantProductSearch\Communication\Plugin\Publisher\MerchantProductSearchPublisherTriggerPlugin; |
68
|
|
|
use Spryker\Zed\MerchantProductStorage\Communication\Plugin\Publisher\Merchant\MerchantUpdatePublisherPlugin; |
69
|
|
|
use Spryker\Zed\MerchantProductStorage\Communication\Plugin\Publisher\MerchantProduct\MerchantProductWritePublisherPlugin; |
70
|
|
|
use Spryker\Zed\MerchantProductStorage\Communication\Plugin\Publisher\MerchantProductPublisherTriggerPlugin; |
71
|
|
|
use Spryker\Zed\MerchantSearch\Communication\Plugin\Publisher\Merchant\MerchantDeletePublisherPlugin; |
72
|
|
|
use Spryker\Zed\MerchantSearch\Communication\Plugin\Publisher\Merchant\MerchantWritePublisherPlugin; |
73
|
|
|
use Spryker\Zed\MerchantSearch\Communication\Plugin\Publisher\MerchantCategory\MerchantCategoryWritePublisherPlugin; |
74
|
|
|
use Spryker\Zed\MerchantStorage\Communication\Plugin\Publisher\Merchant\MerchantCategoryStoragePublisherPlugin; |
75
|
|
|
use Spryker\Zed\MerchantStorage\Communication\Plugin\Publisher\Merchant\MerchantStoragePublisherPlugin; |
76
|
|
|
use Spryker\Zed\MerchantStorage\Communication\Plugin\Publisher\MerchantPublisherTriggerPlugin; |
77
|
|
|
use Spryker\Zed\PriceProductMerchantRelationshipStorage\Communication\Plugin\Publisher\Merchant\MerchantWritePublisherPlugin as PriceProductMerchantWritePublisherPlugin; |
78
|
|
|
use Spryker\Zed\PriceProductOfferStorage\Communication\Plugin\Publisher\PriceProductOffer\PriceProductStoreWritePublisherPlugin; |
79
|
|
|
use Spryker\Zed\PriceProductOfferStorage\Communication\Plugin\Publisher\PriceProductOfferPublisherTriggerPlugin; |
80
|
|
|
use Spryker\Zed\Product\Communication\Plugin\Publisher\ProductAbstractUpdatedMessageBrokerPublisherPlugin; |
81
|
|
|
use Spryker\Zed\Product\Communication\Plugin\Publisher\ProductConcreteCreatedMessageBrokerPublisherPlugin; |
82
|
|
|
use Spryker\Zed\Product\Communication\Plugin\Publisher\ProductConcreteDeletedMessageBrokerPublisherPlugin; |
83
|
|
|
use Spryker\Zed\Product\Communication\Plugin\Publisher\ProductConcreteExportedMessageBrokerPublisherPlugin; |
84
|
|
|
use Spryker\Zed\Product\Communication\Plugin\Publisher\ProductConcreteUpdatedMessageBrokerPublisherPlugin; |
85
|
|
|
use Spryker\Zed\ProductAlternativeStorage\Communication\Plugin\Publisher\ProductAlternativePublisherTriggerPlugin; |
86
|
|
|
use Spryker\Zed\ProductBundleStorage\Communication\Plugin\Publisher\ProductBundle\ProductBundlePublishWritePublisherPlugin; |
87
|
|
|
use Spryker\Zed\ProductBundleStorage\Communication\Plugin\Publisher\ProductBundle\ProductBundleWritePublisherPlugin; |
88
|
|
|
use Spryker\Zed\ProductBundleStorage\Communication\Plugin\Publisher\ProductBundlePublisherTriggerPlugin; |
89
|
|
|
use Spryker\Zed\ProductBundleStorage\Communication\Plugin\Publisher\ProductConcrete\ProductBundleWritePublisherPlugin as ProductConcreteProductBundleWritePublisherPlugin; |
90
|
|
|
use Spryker\Zed\ProductCategory\Communication\Plugin\Publisher\ProductCategoryProductUpdatedEventTriggerPlugin; |
91
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\Category\CategoryIsActiveAndCategoryKeyWritePublisherPlugin; |
92
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\Category\CategoryStoreDeletePublisherPlugin; |
93
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\Category\CategoryStoreWriteForPublishingPublisherPlugin; |
94
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\Category\CategoryStoreWritePublisherPlugin; |
95
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\Category\CategoryWritePublisherPlugin as ProductCategoryStorageCategoryWritePublisherPlugin; |
96
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\CategoryAttribute\CategoryAttributeNameWritePublisherPlugin; |
97
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\CategoryAttribute\CategoryAttributeWritePublisherPlugin as ProductCategoryAttributeWritePublisherPlugin; |
98
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\CategoryNode\CategoryNodeWritePublisherPlugin as ProductCategoryNodeWritePublisherPlugin; |
99
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\CategoryUrl\CategoryUrlAndResourceCategorynodeWritePublisherPlugin; |
100
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\CategoryUrl\CategoryUrlWritePublisherPlugin; |
101
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\ProductCategory\ProductCategoryWriteForPublishingPublisherPlugin; |
102
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\ProductCategory\ProductCategoryWritePublisherPlugin; |
103
|
|
|
use Spryker\Zed\ProductCategoryStorage\Communication\Plugin\Publisher\ProductCategoryPublisherTriggerPlugin; |
104
|
|
|
use Spryker\Zed\ProductConfigurationStorage\Communication\Plugin\Publisher\ProductConfiguration\ProductConfigurationDeletePublisherPlugin; |
105
|
|
|
use Spryker\Zed\ProductConfigurationStorage\Communication\Plugin\Publisher\ProductConfiguration\ProductConfigurationWritePublisherPlugin; |
106
|
|
|
use Spryker\Zed\ProductConfigurationStorage\Communication\Plugin\Publisher\ProductConfigurationPublisherTriggerPlugin; |
107
|
|
|
use Spryker\Zed\ProductDiscontinuedStorage\Communication\Plugin\Publisher\ProductDiscontinuedPublisherTriggerPlugin; |
108
|
|
|
use Spryker\Zed\ProductLabel\Communication\Plugin\Publisher\ProductLabelLocalizedAttributesWritePublisherPlugin; |
109
|
|
|
use Spryker\Zed\ProductLabel\Communication\Plugin\Publisher\ProductLabelProductUpdatedEventTriggerPlugin; |
110
|
|
|
use Spryker\Zed\ProductLabelSearch\Communication\Plugin\Publisher\ProductLabel\ProductLabelWritePublisherPlugin as ProductLabelSearchWritePublisherPlugin; |
111
|
|
|
use Spryker\Zed\ProductLabelSearch\Communication\Plugin\Publisher\ProductLabelProductAbstract\ProductLabelProductAbstractWritePublisherPlugin as ProductLabelProductAbstractSearchWritePublisherPlugin; |
112
|
|
|
use Spryker\Zed\ProductLabelSearch\Communication\Plugin\Publisher\ProductLabelSearchPublisherTriggerPlugin; |
113
|
|
|
use Spryker\Zed\ProductLabelSearch\Communication\Plugin\Publisher\ProductLabelStore\ProductLabelStoreWritePublisherPlugin as ProductLabelStoreSearchWritePublisherPlugin; |
114
|
|
|
use Spryker\Zed\ProductLabelStorage\Communication\Plugin\Publisher\ProductAbstractLabel\ProductAbstractLabelWritePublisherPlugin as ProductAbstractLabelStorageWritePublisherPlugin; |
115
|
|
|
use Spryker\Zed\ProductLabelStorage\Communication\Plugin\Publisher\ProductAbstractLabelPublisherTriggerPlugin; |
116
|
|
|
use Spryker\Zed\ProductLabelStorage\Communication\Plugin\Publisher\ProductLabelDictionary\ProductLabelDictionaryDeletePublisherPlugin as ProductLabelDictionaryStorageDeletePublisherPlugin; |
117
|
|
|
use Spryker\Zed\ProductLabelStorage\Communication\Plugin\Publisher\ProductLabelDictionary\ProductLabelDictionaryWritePublisherPlugin as ProductLabelDictionaryStorageWritePublisherPlugin; |
118
|
|
|
use Spryker\Zed\ProductLabelStorage\Communication\Plugin\Publisher\ProductLabelDictionaryPublisherTriggerPlugin; |
119
|
|
|
use Spryker\Zed\ProductLabelStorage\Communication\Plugin\Publisher\ProductLabelProductAbstract\ProductLabelProductAbstractWritePublisherPlugin as ProductLabelProductAbstractStorageWritePublisherPlugin; |
120
|
|
|
use Spryker\Zed\ProductListSearch\Communication\Plugin\Publisher\ProductListSearchPublisherTriggerPlugin; |
121
|
|
|
use Spryker\Zed\ProductListStorage\Communication\Plugin\Publisher\ProductListPublisherTriggerPlugin; |
122
|
|
|
use Spryker\Zed\ProductOfferAvailabilityStorage\Communication\Plugin\Publisher\ProductOfferAvailability\ProductOfferAvailabilityProductOfferStoreStoragePublisherPlugin; |
123
|
|
|
use Spryker\Zed\ProductOfferAvailabilityStorage\Communication\Plugin\Publisher\Stock\ProductOfferAvailabilityStockStoragePublisherPlugin; |
124
|
|
|
use Spryker\Zed\ProductOfferAvailabilityStorage\Communication\Plugin\Publisher\StockStore\ProductOfferAvailabilityStockStoreStoragePublisherPlugin; |
125
|
|
|
use Spryker\Zed\ProductOfferStorage\Communication\Plugin\Publisher\ProductConcreteOffers\ProductConcreteProductOffersDeletePublisherPlugin; |
126
|
|
|
use Spryker\Zed\ProductOfferStorage\Communication\Plugin\Publisher\ProductConcreteOffers\ProductConcreteProductOffersStoreDeletePublisherPlugin; |
127
|
|
|
use Spryker\Zed\ProductOfferStorage\Communication\Plugin\Publisher\ProductConcreteOffers\ProductConcreteProductOffersStoreWritePublisherPlugin; |
128
|
|
|
use Spryker\Zed\ProductOfferStorage\Communication\Plugin\Publisher\ProductConcreteOffers\ProductConcreteProductOffersWritePublisherPlugin; |
129
|
|
|
use Spryker\Zed\ProductOfferStorage\Communication\Plugin\Publisher\ProductOffer\ProductOfferDeletePublisherPlugin; |
130
|
|
|
use Spryker\Zed\ProductOfferStorage\Communication\Plugin\Publisher\ProductOffer\ProductOfferStoreDeletePublisherPlugin; |
131
|
|
|
use Spryker\Zed\ProductOfferStorage\Communication\Plugin\Publisher\ProductOffer\ProductOfferStoreWritePublisherPlugin; |
132
|
|
|
use Spryker\Zed\ProductOfferStorage\Communication\Plugin\Publisher\ProductOffer\ProductOfferWritePublisherPlugin; |
133
|
|
|
use Spryker\Zed\ProductOfferStorage\Communication\Plugin\Publisher\ProductOfferPublisherTriggerPlugin; |
134
|
|
|
use Spryker\Zed\ProductPageSearch\Communication\Plugin\Publisher\CategoryStore\CategoryStoreProductAbstractPageSearchWritePublisherPlugin; |
135
|
|
|
use Spryker\Zed\ProductPageSearch\Communication\Plugin\Publisher\Product\ProductConcretePageSearchWritePublisherPlugin; |
136
|
|
|
use Spryker\Zed\ProductPageSearch\Communication\Plugin\Publisher\ProductConcretePublisherTriggerPlugin; |
137
|
|
|
use Spryker\Zed\ProductRelationStorage\Communication\Plugin\Publisher\ProductRelation\ProductRelationWriteForPublishingPublisherPlugin; |
138
|
|
|
use Spryker\Zed\ProductRelationStorage\Communication\Plugin\Publisher\ProductRelation\ProductRelationWritePublisherPlugin; |
139
|
|
|
use Spryker\Zed\ProductRelationStorage\Communication\Plugin\Publisher\ProductRelationProductAbstract\ProductRelationProductAbstractWritePublisherPlugin; |
140
|
|
|
use Spryker\Zed\ProductRelationStorage\Communication\Plugin\Publisher\ProductRelationPublisherTriggerPlugin; |
141
|
|
|
use Spryker\Zed\ProductRelationStorage\Communication\Plugin\Publisher\ProductRelationStore\ProductRelationStoreWritePublisherPlugin; |
142
|
|
|
use Spryker\Zed\ProductStorage\Communication\Plugin\Publisher\ProductAbstract\ProductLocalizedAttributesProductAbstractWritePublisherPlugin; |
143
|
|
|
use Spryker\Zed\PublishAndSynchronizeHealthCheckSearch\Communication\Plugin\Publisher\PublishAndSynchronizeHealthCheckSearchPublisherTriggerPlugin; |
144
|
|
|
use Spryker\Zed\PublishAndSynchronizeHealthCheckSearch\Communication\Plugin\Publisher\PublishAndSynchronizeHealthCheckSearchWritePublisherPlugin; |
145
|
|
|
use Spryker\Zed\PublishAndSynchronizeHealthCheckStorage\Communication\Plugin\Publisher\PublishAndSynchronizeHealthCheckPublisherTriggerPlugin; |
146
|
|
|
use Spryker\Zed\PublishAndSynchronizeHealthCheckStorage\Communication\Plugin\Publisher\PublishAndSynchronizeHealthCheckStorageWritePublisherPlugin; |
147
|
|
|
use Spryker\Zed\Publisher\PublisherDependencyProvider as SprykerPublisherDependencyProvider; |
148
|
|
|
use Spryker\Zed\SalesReturnSearch\Communication\Plugin\Publisher\ReturnReason\ReturnReasonDeletePublisherPlugin; |
149
|
|
|
use Spryker\Zed\SalesReturnSearch\Communication\Plugin\Publisher\ReturnReason\ReturnReasonWritePublisherPlugin; |
150
|
|
|
use Spryker\Zed\SalesReturnSearch\Communication\Plugin\Publisher\ReturnReasonPublisherTriggerPlugin; |
151
|
|
|
use Spryker\Zed\StoreContextStorage\Communication\Plugin\Publisher\ContextStoreWritePublisherPlugin; |
152
|
|
|
use Spryker\Zed\StoreStorage\Communication\Plugin\Publisher\CountryStore\CountryStoreWritePublisherPlugin; |
153
|
|
|
use Spryker\Zed\StoreStorage\Communication\Plugin\Publisher\CurrencyStore\CurrencyStoreWritePublisherPlugin; |
154
|
|
|
use Spryker\Zed\StoreStorage\Communication\Plugin\Publisher\LocaleStore\LocaleStoreWritePublisherPlugin; |
155
|
|
|
use Spryker\Zed\StoreStorage\Communication\Plugin\Publisher\Store\StoreSynchronizationTriggeringPublisherPlugin; |
156
|
|
|
use Spryker\Zed\StoreStorage\Communication\Plugin\Publisher\Store\StoreWritePublisherPlugin; |
157
|
|
|
use Spryker\Zed\StoreStorage\Communication\Plugin\Publisher\StorePublisherTriggerPlugin; |
158
|
|
|
use Spryker\Zed\TaxApp\Communication\Plugin\Publisher\Store\RefreshTaxAppStoreRelationPublisherPlugin; |
159
|
|
|
use Spryker\Zed\TaxProductStorage\Communication\Plugin\Publisher\TaxProductPublisherTriggerPlugin; |
160
|
|
|
use Spryker\Zed\TaxStorage\Communication\Plugin\Publisher\TaxSetPublisherTriggerPlugin; |
161
|
|
|
|
162
|
|
|
class PublisherDependencyProvider extends SprykerPublisherDependencyProvider |
163
|
|
|
{ |
164
|
|
|
/** |
165
|
|
|
* @return array<int|string, \Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface>|array<string, array<int|string, \Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface>> |
166
|
|
|
*/ |
167
|
|
|
protected function getPublisherPlugins(): array |
168
|
|
|
{ |
169
|
|
|
return array_merge( |
170
|
|
|
$this->getPublishAndSynchronizeHealthCheckPlugins(), |
171
|
|
|
$this->getGlossaryStoragePlugins(), |
172
|
|
|
$this->getProductRelationStoragePlugins(), |
173
|
|
|
$this->getProductLabelStoragePlugins(), |
174
|
|
|
$this->getProductLabelSearchPlugins(), |
175
|
|
|
$this->getReturnReasonSearchPlugins(), |
176
|
|
|
$this->getProductBundleStoragePlugins(), |
177
|
|
|
$this->getCategoryStoragePlugins(), |
178
|
|
|
$this->getCategoryPageSearchPlugins(), |
179
|
|
|
$this->getProductCategoryStoragePlugins(), |
180
|
|
|
$this->getMerchantCategoryPlugins(), |
181
|
|
|
$this->getMerchantProductSearchPlugins(), |
182
|
|
|
$this->getMerchantOpeningHoursStoragePlugins(), |
183
|
|
|
$this->getMerchantProductPlugins(), |
184
|
|
|
$this->getMerchantSearchPlugins(), |
185
|
|
|
$this->getMerchantStoragePlugins(), |
186
|
|
|
$this->getMerchantProductOfferSearchPlugins(), |
187
|
|
|
$this->getMerchantProductOfferStoragePlugins(), |
188
|
|
|
$this->getMerchantProductOptionStoragePlugins(), |
189
|
|
|
$this->getPriceProductOfferStoragePlugins(), |
190
|
|
|
$this->getMerchantCategorySearchPlugins(), |
191
|
|
|
$this->getMerchantProductOptionStoragePlugins(), |
192
|
|
|
$this->getProductOfferStoragePlugins(), |
193
|
|
|
$this->getAssetPlugins(), |
194
|
|
|
$this->getPriceProductMerchantRelationshipStoragePlugins(), |
195
|
|
|
$this->getStoreStoragePlugins(), |
196
|
|
|
$this->getAssetStoragePlugins(), |
197
|
|
|
$this->getProductConfigurationStoragePlugins(), |
198
|
|
|
$this->getCustomerStoragePlugins(), |
199
|
|
|
$this->getProductMessageBrokerPlugins(), |
200
|
|
|
$this->getProductPageSearchPlugins(), |
201
|
|
|
$this->getProductAbstractPageSearchPlugins(), |
202
|
|
|
$this->getProductOfferAvailabilityStoragePlugins(), |
203
|
|
|
$this->getTaxAppPlugins(), |
204
|
|
|
$this->getProductStoragePlugins(), |
205
|
|
|
$this->getCmsPageMessageBrokerPlugins(), |
206
|
|
|
); |
207
|
|
|
} |
208
|
|
|
|
209
|
|
|
/** |
210
|
|
|
* @return array<string, array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface>> |
211
|
|
|
*/ |
212
|
|
|
protected function getPublishAndSynchronizeHealthCheckPlugins(): array |
213
|
|
|
{ |
214
|
|
|
return [ |
215
|
|
|
PublishAndSynchronizeHealthCheckConfig::PUBLISH_PUBLISH_AND_SYNCHRONIZE_HEALTH_CHECK => [ |
216
|
|
|
new PublishAndSynchronizeHealthCheckStorageWritePublisherPlugin(), |
217
|
|
|
new PublishAndSynchronizeHealthCheckSearchWritePublisherPlugin(), |
218
|
|
|
], |
219
|
|
|
]; |
220
|
|
|
} |
221
|
|
|
|
222
|
|
|
/** |
223
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherTriggerPluginInterface> |
224
|
|
|
*/ |
225
|
|
|
protected function getPublisherTriggerPlugins(): array |
226
|
|
|
{ |
227
|
|
|
return [ |
228
|
|
|
new GlossaryPublisherTriggerPlugin(), |
229
|
|
|
new ProductRelationPublisherTriggerPlugin(), |
230
|
|
|
new ProductAbstractLabelPublisherTriggerPlugin(), |
231
|
|
|
new ProductLabelDictionaryPublisherTriggerPlugin(), |
232
|
|
|
new ReturnReasonPublisherTriggerPlugin(), |
233
|
|
|
new ProductBundlePublisherTriggerPlugin(), |
234
|
|
|
new ProductConfigurationPublisherTriggerPlugin(), |
235
|
|
|
new CategoryNodePublisherTriggerPlugin(), |
236
|
|
|
new CategoryTreePublisherTriggerPlugin(), |
237
|
|
|
new ProductCategoryPublisherTriggerPlugin(), |
238
|
|
|
new CategoryPagePublisherTriggerPlugin(), |
239
|
|
|
new StorePublisherTriggerPlugin(), |
240
|
|
|
new ProductConcretePublisherTriggerPlugin(), |
241
|
|
|
new ProductAlternativePublisherTriggerPlugin(), |
242
|
|
|
new ProductDiscontinuedPublisherTriggerPlugin(), |
243
|
|
|
new TaxSetPublisherTriggerPlugin(), |
244
|
|
|
new TaxProductPublisherTriggerPlugin(), |
245
|
|
|
new PublishAndSynchronizeHealthCheckSearchPublisherTriggerPlugin(), |
246
|
|
|
new PublishAndSynchronizeHealthCheckPublisherTriggerPlugin(), |
247
|
|
|
new ProductOfferPublisherTriggerPlugin(), |
248
|
|
|
new ProductListPublisherTriggerPlugin(), |
249
|
|
|
new ProductListSearchPublisherTriggerPlugin(), |
250
|
|
|
new ProductLabelSearchPublisherTriggerPlugin(), |
251
|
|
|
new CategoryImagePublisherTriggerPlugin(), |
252
|
|
|
new FileManagerPublisherTriggerPlugin(), |
253
|
|
|
new MerchantPublisherTriggerPlugin(), |
254
|
|
|
new MerchantProductOfferSearchPublisherTriggerPlugin(), |
255
|
|
|
new MerchantProductOptionGroupPublisherTriggerPlugin(), |
256
|
|
|
new MerchantProductSearchPublisherTriggerPlugin(), |
257
|
|
|
new MerchantProductPublisherTriggerPlugin(), |
258
|
|
|
new AssetPublisherTriggerPlugin(), |
259
|
|
|
new PriceProductOfferPublisherTriggerPlugin(), |
260
|
|
|
new CustomerAccessPublisherTriggerPlugin(), |
261
|
|
|
]; |
262
|
|
|
} |
263
|
|
|
|
264
|
|
|
/** |
265
|
|
|
* @return array<int|string, \Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface>|array<string, array<int|string, \Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface>> |
266
|
|
|
*/ |
267
|
|
|
protected function getGlossaryStoragePlugins(): array |
268
|
|
|
{ |
269
|
|
|
return [ |
270
|
|
|
new GlossaryKeyDeletePublisherPlugin(), |
271
|
|
|
new GlossaryKeyWriterPublisherPlugin(), |
272
|
|
|
new GlossaryTranslationWritePublisherPlugin(), |
273
|
|
|
]; |
274
|
|
|
} |
275
|
|
|
|
276
|
|
|
/** |
277
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
278
|
|
|
*/ |
279
|
|
|
protected function getProductRelationStoragePlugins(): array |
280
|
|
|
{ |
281
|
|
|
return [ |
282
|
|
|
new ProductRelationWritePublisherPlugin(), |
283
|
|
|
new ProductRelationWriteForPublishingPublisherPlugin(), |
284
|
|
|
new ProductRelationProductAbstractWritePublisherPlugin(), |
285
|
|
|
new ProductRelationStoreWritePublisherPlugin(), |
286
|
|
|
]; |
287
|
|
|
} |
288
|
|
|
|
289
|
|
|
/** |
290
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
291
|
|
|
*/ |
292
|
|
|
protected function getProductLabelStoragePlugins(): array |
293
|
|
|
{ |
294
|
|
|
return [ |
295
|
|
|
new ProductAbstractLabelStorageWritePublisherPlugin(), |
296
|
|
|
new ProductLabelProductAbstractStorageWritePublisherPlugin(), |
297
|
|
|
new ProductLabelDictionaryStorageWritePublisherPlugin(), |
298
|
|
|
new ProductLabelDictionaryStorageDeletePublisherPlugin(), |
299
|
|
|
new ProductLabelLocalizedAttributesWritePublisherPlugin(), |
300
|
|
|
]; |
301
|
|
|
} |
302
|
|
|
|
303
|
|
|
/** |
304
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
305
|
|
|
*/ |
306
|
|
|
protected function getProductLabelSearchPlugins(): array |
307
|
|
|
{ |
308
|
|
|
return [ |
309
|
|
|
new ProductLabelSearchWritePublisherPlugin(), |
310
|
|
|
new ProductLabelProductAbstractSearchWritePublisherPlugin(), |
311
|
|
|
new ProductLabelStoreSearchWritePublisherPlugin(), |
312
|
|
|
]; |
313
|
|
|
} |
314
|
|
|
|
315
|
|
|
/** |
316
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
317
|
|
|
*/ |
318
|
|
|
protected function getReturnReasonSearchPlugins(): array |
319
|
|
|
{ |
320
|
|
|
return [ |
321
|
|
|
new ReturnReasonWritePublisherPlugin(), |
322
|
|
|
new ReturnReasonDeletePublisherPlugin(), |
323
|
|
|
]; |
324
|
|
|
} |
325
|
|
|
|
326
|
|
|
/** |
327
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
328
|
|
|
*/ |
329
|
|
|
protected function getProductBundleStoragePlugins(): array |
330
|
|
|
{ |
331
|
|
|
return [ |
332
|
|
|
new ProductBundlePublishWritePublisherPlugin(), |
333
|
|
|
new ProductBundleWritePublisherPlugin(), |
334
|
|
|
new ProductConcreteProductBundleWritePublisherPlugin(), |
335
|
|
|
]; |
336
|
|
|
} |
337
|
|
|
|
338
|
|
|
/** |
339
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
340
|
|
|
*/ |
341
|
|
|
protected function getCategoryStoragePlugins(): array |
342
|
|
|
{ |
343
|
|
|
return [ |
344
|
|
|
new CategoryStoreStorageWritePublisherPlugin(), |
345
|
|
|
new CategoryStoreStorageWriteForPublishingPublisherPlugin(), |
346
|
|
|
new CategoryTreeWriteForPublishingPublisherPlugin(), |
347
|
|
|
new CategoryDeletePublisherPlugin(), |
348
|
|
|
new CategoryStoreCategoryWritePublisherPlugin(), |
349
|
|
|
new CategoryAttributeDeletePublisherPlugin(), |
350
|
|
|
new CategoryAttributeWritePublisherPlugin(), |
351
|
|
|
new CategoryNodeDeletePublisherPlugin(), |
352
|
|
|
new CategoryNodeWritePublisherPlugin(), |
353
|
|
|
new CategoryTemplateDeletePublisherPlugin(), |
354
|
|
|
new CategoryTemplateWritePublisherPlugin(), |
355
|
|
|
new CategoryTreeDeletePublisherPlugin(), |
356
|
|
|
new ParentWritePublisherPlugin(), |
357
|
|
|
]; |
358
|
|
|
} |
359
|
|
|
|
360
|
|
|
/** |
361
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
362
|
|
|
*/ |
363
|
|
|
protected function getCategoryPageSearchPlugins(): array |
364
|
|
|
{ |
365
|
|
|
return [ |
366
|
|
|
new CategoryStoreSearchWritePublisherPlugin(), |
367
|
|
|
new CategoryStoreSearchWriteForPublishingPublisherPlugin(), |
368
|
|
|
new CategoryPageSearchCategoryDeletePublisherPlugin(), |
369
|
|
|
new CategoryPageSearchCategoryWritePublisherPlugin(), |
370
|
|
|
new CategoryPageSearchCategoryAttributeDeletePublisherPlugin(), |
371
|
|
|
new CategoryPageSearchCategoryAttributeWritePublisherPlugin(), |
372
|
|
|
new CategoryPageSearchCategoryNodeDeletePublisherPlugin(), |
373
|
|
|
new CategoryPageSearchCategoryNodeWritePublisherPlugin(), |
374
|
|
|
new CategoryPageSearchCategoryTemplateDeletePublisherPlugin(), |
375
|
|
|
new CategoryPageSearchCategoryTemplateWritePublisherPlugin(), |
376
|
|
|
]; |
377
|
|
|
} |
378
|
|
|
|
379
|
|
|
/** |
380
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
381
|
|
|
*/ |
382
|
|
|
protected function getProductCategoryStoragePlugins(): array |
383
|
|
|
{ |
384
|
|
|
return [ |
385
|
|
|
new CategoryStoreWritePublisherPlugin(), |
386
|
|
|
new CategoryStoreWriteForPublishingPublisherPlugin(), |
387
|
|
|
new CategoryStoreDeletePublisherPlugin(), |
388
|
|
|
new ProductCategoryStorageCategoryWritePublisherPlugin(), |
389
|
|
|
new CategoryIsActiveAndCategoryKeyWritePublisherPlugin(), |
390
|
|
|
new ProductCategoryAttributeWritePublisherPlugin(), |
391
|
|
|
new CategoryAttributeNameWritePublisherPlugin(), |
392
|
|
|
new ProductCategoryNodeWritePublisherPlugin(), |
393
|
|
|
new CategoryUrlWritePublisherPlugin(), |
394
|
|
|
new CategoryUrlAndResourceCategorynodeWritePublisherPlugin(), |
395
|
|
|
new ProductCategoryWriteForPublishingPublisherPlugin(), |
396
|
|
|
new ProductCategoryWritePublisherPlugin(), |
397
|
|
|
]; |
398
|
|
|
} |
399
|
|
|
|
400
|
|
|
/** |
401
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
402
|
|
|
*/ |
403
|
|
|
protected function getMerchantCategoryPlugins(): array |
404
|
|
|
{ |
405
|
|
|
return [ |
406
|
|
|
new CategoryWritePublisherPlugin(), |
407
|
|
|
]; |
408
|
|
|
} |
409
|
|
|
|
410
|
|
|
/** |
411
|
|
|
* @return array<int|string, \Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface>|array<string, array<int|string, \Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface>> |
412
|
|
|
*/ |
413
|
|
|
protected function getMerchantStoragePlugins(): array |
414
|
|
|
{ |
415
|
|
|
return [ |
416
|
|
|
MerchantStorageConfig::PUBLISH_MERCHANT => [ |
417
|
|
|
new MerchantStoragePublisherPlugin(), |
418
|
|
|
new MerchantCategoryStoragePublisherPlugin(), |
419
|
|
|
], |
420
|
|
|
]; |
421
|
|
|
} |
422
|
|
|
|
423
|
|
|
/** |
424
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
425
|
|
|
*/ |
426
|
|
|
protected function getMerchantSearchPlugins(): array |
427
|
|
|
{ |
428
|
|
|
return [ |
429
|
|
|
new MerchantWritePublisherPlugin(), |
430
|
|
|
new MerchantDeletePublisherPlugin(), |
431
|
|
|
]; |
432
|
|
|
} |
433
|
|
|
|
434
|
|
|
/** |
435
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
436
|
|
|
*/ |
437
|
|
|
protected function getMerchantOpeningHoursStoragePlugins(): array |
438
|
|
|
{ |
439
|
|
|
return [ |
440
|
|
|
new MerchantOpeningHoursWritePublisherPlugin(), |
441
|
|
|
new MerchantOpeningHoursWeekdayScheduleWritePublisherPlugin(), |
442
|
|
|
new MerchantOpeningHoursDateScheduleWritePublisherPlugin(), |
443
|
|
|
]; |
444
|
|
|
} |
445
|
|
|
|
446
|
|
|
/** |
447
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
448
|
|
|
*/ |
449
|
|
|
protected function getMerchantProductPlugins(): array |
450
|
|
|
{ |
451
|
|
|
return [ |
452
|
|
|
new MerchantProductWritePublisherPlugin(), |
453
|
|
|
new MerchantUpdatePublisherPlugin(), |
|
|
|
|
454
|
|
|
]; |
455
|
|
|
} |
456
|
|
|
|
457
|
|
|
/** |
458
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
459
|
|
|
*/ |
460
|
|
|
protected function getMerchantProductSearchPlugins(): array |
461
|
|
|
{ |
462
|
|
|
return [ |
463
|
|
|
new MerchantMerchantProductSearchWritePublisherPlugin(), |
|
|
|
|
464
|
|
|
new MerchantProductSearchWritePublisherPlugin(), |
465
|
|
|
]; |
466
|
|
|
} |
467
|
|
|
|
468
|
|
|
/** |
469
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
470
|
|
|
*/ |
471
|
|
|
protected function getMerchantCategorySearchPlugins(): array |
472
|
|
|
{ |
473
|
|
|
return [ |
474
|
|
|
new CategoryWritePublisherPlugin(), |
475
|
|
|
new MerchantCategoryWritePublisherPlugin(), |
476
|
|
|
]; |
477
|
|
|
} |
478
|
|
|
|
479
|
|
|
/** |
480
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
481
|
|
|
*/ |
482
|
|
|
protected function getPriceProductOfferStoragePlugins(): array |
483
|
|
|
{ |
484
|
|
|
return [ |
485
|
|
|
new PriceProductStoreWritePublisherPlugin(), |
486
|
|
|
]; |
487
|
|
|
} |
488
|
|
|
|
489
|
|
|
/** |
490
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
491
|
|
|
*/ |
492
|
|
|
protected function getMerchantProductOptionStoragePlugins(): array |
493
|
|
|
{ |
494
|
|
|
return [ |
495
|
|
|
new MerchantProductOptionGroupWritePublisherPlugin(), |
496
|
|
|
]; |
497
|
|
|
} |
498
|
|
|
|
499
|
|
|
/** |
500
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
501
|
|
|
*/ |
502
|
|
|
protected function getProductOfferStoragePlugins(): array |
503
|
|
|
{ |
504
|
|
|
return [ |
505
|
|
|
new ProductConcreteProductOffersDeletePublisherPlugin(), |
506
|
|
|
new ProductConcreteProductOffersWritePublisherPlugin(), |
507
|
|
|
new ProductOfferDeletePublisherPlugin(), |
508
|
|
|
new ProductOfferWritePublisherPlugin(), |
509
|
|
|
new ProductOfferStoreWritePublisherPlugin(), |
510
|
|
|
new ProductOfferStoreDeletePublisherPlugin(), |
511
|
|
|
new ProductConcreteProductOffersStoreWritePublisherPlugin(), |
512
|
|
|
new ProductConcreteProductOffersStoreDeletePublisherPlugin(), |
513
|
|
|
]; |
514
|
|
|
} |
515
|
|
|
|
516
|
|
|
/** |
517
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
518
|
|
|
*/ |
519
|
|
|
protected function getMerchantProductOfferStoragePlugins(): array |
520
|
|
|
{ |
521
|
|
|
return [ |
522
|
|
|
new MerchantProductConcreteProductOfferWritePublisherPlugin(), |
523
|
|
|
new MerchantProductOfferWritePublisherPlugin(), |
524
|
|
|
]; |
525
|
|
|
} |
526
|
|
|
|
527
|
|
|
/** |
528
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
529
|
|
|
*/ |
530
|
|
|
protected function getMerchantProductOfferSearchPlugins(): array |
531
|
|
|
{ |
532
|
|
|
return [ |
533
|
|
|
new ProductOfferProductConcreteWritePublisherPlugin(), |
534
|
|
|
new ProductOfferStoreProductConcreteWritePublisherPlugin(), |
535
|
|
|
]; |
536
|
|
|
} |
537
|
|
|
|
538
|
|
|
/** |
539
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
540
|
|
|
*/ |
541
|
|
|
protected function getPriceProductMerchantRelationshipStoragePlugins(): array |
542
|
|
|
{ |
543
|
|
|
return [ |
544
|
|
|
new PriceProductMerchantWritePublisherPlugin(), |
545
|
|
|
]; |
546
|
|
|
} |
547
|
|
|
|
548
|
|
|
/** |
549
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
550
|
|
|
*/ |
551
|
|
|
protected function getProductOfferAvailabilityStoragePlugins(): array |
552
|
|
|
{ |
553
|
|
|
return [ |
554
|
|
|
new ProductOfferAvailabilityProductOfferStoreStoragePublisherPlugin(), |
555
|
|
|
new ProductOfferAvailabilityStockStoragePublisherPlugin(), |
556
|
|
|
new ProductOfferAvailabilityStockStoreStoragePublisherPlugin(), |
557
|
|
|
]; |
558
|
|
|
} |
559
|
|
|
|
560
|
|
|
/** |
561
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
562
|
|
|
*/ |
563
|
|
|
protected function getStoreStoragePlugins(): array |
564
|
|
|
{ |
565
|
|
|
return [ |
566
|
|
|
new StoreWritePublisherPlugin(), |
567
|
|
|
new StoreSynchronizationTriggeringPublisherPlugin(), |
568
|
|
|
new CurrencyStoreWritePublisherPlugin(), |
569
|
|
|
new CountryStoreWritePublisherPlugin(), |
570
|
|
|
new LocaleStoreWritePublisherPlugin(), |
571
|
|
|
new ContextStoreWritePublisherPlugin(), |
572
|
|
|
]; |
573
|
|
|
} |
574
|
|
|
|
575
|
|
|
/** |
576
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
577
|
|
|
*/ |
578
|
|
|
protected function getAssetStoragePlugins(): array |
579
|
|
|
{ |
580
|
|
|
return [ |
581
|
|
|
new AssetWritePublisherPlugin(), |
582
|
|
|
new AssetDeletePublisherPlugin(), |
583
|
|
|
]; |
584
|
|
|
} |
585
|
|
|
|
586
|
|
|
/** |
587
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
588
|
|
|
*/ |
589
|
|
|
protected function getProductConfigurationStoragePlugins(): array |
590
|
|
|
{ |
591
|
|
|
return [ |
592
|
|
|
new ProductConfigurationWritePublisherPlugin(), |
593
|
|
|
new ProductConfigurationDeletePublisherPlugin(), |
594
|
|
|
]; |
595
|
|
|
} |
596
|
|
|
|
597
|
|
|
/** |
598
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
599
|
|
|
*/ |
600
|
|
|
protected function getProductMessageBrokerPlugins(): array |
601
|
|
|
{ |
602
|
|
|
return [ |
603
|
|
|
new ProductConcreteExportedMessageBrokerPublisherPlugin(), |
604
|
|
|
new ProductConcreteCreatedMessageBrokerPublisherPlugin(), |
605
|
|
|
new ProductConcreteUpdatedMessageBrokerPublisherPlugin(), |
606
|
|
|
new ProductConcreteDeletedMessageBrokerPublisherPlugin(), |
607
|
|
|
new ProductAbstractUpdatedMessageBrokerPublisherPlugin(), |
608
|
|
|
new ProductCategoryProductUpdatedEventTriggerPlugin(), |
609
|
|
|
new ProductLabelProductUpdatedEventTriggerPlugin(), |
610
|
|
|
]; |
611
|
|
|
} |
612
|
|
|
|
613
|
|
|
/** |
614
|
|
|
* @return array<int, \Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
615
|
|
|
*/ |
616
|
|
|
protected function getCustomerStoragePlugins(): array |
617
|
|
|
{ |
618
|
|
|
return [ |
619
|
|
|
new CustomerInvalidatedWritePublisherPlugin(), |
620
|
|
|
]; |
621
|
|
|
} |
622
|
|
|
|
623
|
|
|
/** |
624
|
|
|
* @return list<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
625
|
|
|
*/ |
626
|
|
|
protected function getProductPageSearchPlugins(): array |
627
|
|
|
{ |
628
|
|
|
return [ |
|
|
|
|
629
|
|
|
new ProductConcretePageSearchWritePublisherPlugin(), |
630
|
|
|
]; |
631
|
|
|
} |
632
|
|
|
|
633
|
|
|
/** |
634
|
|
|
* @return list<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
635
|
|
|
*/ |
636
|
|
|
public function getProductAbstractPageSearchPlugins(): array |
637
|
|
|
{ |
638
|
|
|
return [ |
|
|
|
|
639
|
|
|
new CategoryStoreProductAbstractPageSearchWritePublisherPlugin(), |
640
|
|
|
]; |
641
|
|
|
} |
642
|
|
|
|
643
|
|
|
/** |
644
|
|
|
* @return list<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
645
|
|
|
*/ |
646
|
|
|
public function getAssetPlugins(): array |
647
|
|
|
{ |
648
|
|
|
return [ |
|
|
|
|
649
|
|
|
new RefreshAssetStoreRelationPublisherPlugin(), |
650
|
|
|
]; |
651
|
|
|
} |
652
|
|
|
|
653
|
|
|
/** |
654
|
|
|
* @return list<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
655
|
|
|
*/ |
656
|
|
|
public function getTaxAppPlugins(): array |
657
|
|
|
{ |
658
|
|
|
return [ |
|
|
|
|
659
|
|
|
new RefreshTaxAppStoreRelationPublisherPlugin(), |
660
|
|
|
]; |
661
|
|
|
} |
662
|
|
|
|
663
|
|
|
/** |
664
|
|
|
* @return list<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
665
|
|
|
*/ |
666
|
|
|
protected function getProductStoragePlugins(): array |
667
|
|
|
{ |
668
|
|
|
return [ |
|
|
|
|
669
|
|
|
new ProductLocalizedAttributesProductAbstractWritePublisherPlugin(), |
670
|
|
|
]; |
671
|
|
|
} |
672
|
|
|
|
673
|
|
|
/** |
674
|
|
|
* @return array<\Spryker\Zed\PublisherExtension\Dependency\Plugin\PublisherPluginInterface> |
675
|
|
|
*/ |
676
|
|
|
protected function getCmsPageMessageBrokerPlugins(): array |
677
|
|
|
{ |
678
|
|
|
return [ |
679
|
|
|
new CmsPageVersionPublishedMessageBrokerPublisherPlugin(), |
680
|
|
|
new CmsPageUpdateMessageBrokerPublisherPlugin(), |
681
|
|
|
]; |
682
|
|
|
} |
683
|
|
|
} |
684
|
|
|
|