Passed
Pull Request — master (#300)
by Artem
61:09
created

getControllerConfigurationCacheCollectorPlugins()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
c 0
b 0
f 0
dl 0
loc 5
rs 10
cc 1
nc 1
nop 0
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
namespace Pyz\Glue\GlueApplication;
9
10
use Spryker\Glue\AgentAuthRestApi\Plugin\GlueApplication\AgentAccessTokenRestRequestValidatorPlugin;
11
use Spryker\Glue\AgentAuthRestApi\Plugin\GlueApplication\AgentAccessTokenRestUserFinderPlugin;
12
use Spryker\Glue\AgentAuthRestApi\Plugin\GlueApplication\AgentAccessTokensResourceRoutePlugin;
13
use Spryker\Glue\AgentAuthRestApi\Plugin\GlueApplication\AgentCustomerImpersonationAccessTokensResourceRoutePlugin;
14
use Spryker\Glue\AgentAuthRestApi\Plugin\GlueApplication\AgentCustomerSearchResourceRoutePlugin;
15
use Spryker\Glue\AgentAuthRestApi\Plugin\GlueApplication\AgentRestUserValidatorPlugin;
16
use Spryker\Glue\AlternativeProductsRestApi\Plugin\GlueApplication\AbstractAlternativeProductsResourceRoutePlugin;
17
use Spryker\Glue\AlternativeProductsRestApi\Plugin\GlueApplication\ConcreteAlternativeProductsResourceRoutePlugin;
18
use Spryker\Glue\AuthRestApi\Plugin\AccessTokensResourceRoutePlugin;
19
use Spryker\Glue\AuthRestApi\Plugin\FormatAuthenticationErrorResponseHeadersPlugin;
20
use Spryker\Glue\AuthRestApi\Plugin\GlueApplication\AccessTokenRestRequestValidatorPlugin;
21
use Spryker\Glue\AuthRestApi\Plugin\GlueApplication\FormattedControllerBeforeActionValidateAccessTokenPlugin;
22
use Spryker\Glue\AuthRestApi\Plugin\GlueApplication\SimultaneousAuthenticationRestRequestValidatorPlugin;
23
use Spryker\Glue\AuthRestApi\Plugin\GlueApplication\TokenResourceRoutePlugin;
24
use Spryker\Glue\AuthRestApi\Plugin\RefreshTokensResourceRoutePlugin;
25
use Spryker\Glue\AuthRestApi\Plugin\RestUserFinderByAccessTokenPlugin;
26
use Spryker\Glue\AvailabilityNotificationsRestApi\Plugin\GlueApplication\AvailabilityNotificationsResourceRoutePlugin;
27
use Spryker\Glue\AvailabilityNotificationsRestApi\Plugin\GlueApplication\CustomerAvailabilityNotificationsResourceRoutePlugin;
28
use Spryker\Glue\AvailabilityNotificationsRestApi\Plugin\GlueApplication\MyAvailabilityNotificationsResourceRoutePlugin;
29
use Spryker\Glue\CartCodesRestApi\Plugin\GlueApplication\CartCodesResourceRoutePlugin;
30
use Spryker\Glue\CartCodesRestApi\Plugin\GlueApplication\CartRuleByQuoteResourceRelationshipPlugin;
31
use Spryker\Glue\CartCodesRestApi\Plugin\GlueApplication\CartVouchersResourceRoutePlugin;
32
use Spryker\Glue\CartCodesRestApi\Plugin\GlueApplication\GuestCartCodesResourceRoutePlugin;
33
use Spryker\Glue\CartCodesRestApi\Plugin\GlueApplication\GuestCartVouchersResourceRoutePlugin;
34
use Spryker\Glue\CartCodesRestApi\Plugin\GlueApplication\VoucherByQuoteResourceRelationshipPlugin;
35
use Spryker\Glue\CartsRestApi\CartsRestApiConfig;
36
use Spryker\Glue\CartsRestApi\Plugin\ControllerBeforeAction\SetAnonymousCustomerIdControllerBeforeActionPlugin;
37
use Spryker\Glue\CartsRestApi\Plugin\GlueApplication\CartByRestCheckoutDataResourceRelationshipPlugin;
38
use Spryker\Glue\CartsRestApi\Plugin\GlueApplication\CartItemsByQuoteResourceRelationshipPlugin;
39
use Spryker\Glue\CartsRestApi\Plugin\GlueApplication\GuestCartByRestCheckoutDataResourceRelationshipPlugin;
40
use Spryker\Glue\CartsRestApi\Plugin\GlueApplication\GuestCartItemsByQuoteResourceRelationshipPlugin;
41
use Spryker\Glue\CartsRestApi\Plugin\ResourceRoute\CartItemsResourceRoutePlugin;
42
use Spryker\Glue\CartsRestApi\Plugin\ResourceRoute\CartsResourceRoutePlugin;
43
use Spryker\Glue\CartsRestApi\Plugin\ResourceRoute\CustomerCartsResourceRoutePlugin;
44
use Spryker\Glue\CartsRestApi\Plugin\ResourceRoute\GuestCartItemsResourceRoutePlugin;
45
use Spryker\Glue\CartsRestApi\Plugin\ResourceRoute\GuestCartsResourceRoutePlugin;
46
use Spryker\Glue\CartsRestApi\Plugin\Validator\AnonymousCustomerUniqueIdValidatorPlugin;
47
use Spryker\Glue\CatalogSearchProductsResourceRelationship\Plugin\CatalogSearchAbstractProductsResourceRelationshipPlugin;
48
use Spryker\Glue\CatalogSearchProductsResourceRelationship\Plugin\CatalogSearchSuggestionsAbstractProductsResourceRelationshipPlugin;
49
use Spryker\Glue\CatalogSearchRestApi\CatalogSearchRestApiConfig;
50
use Spryker\Glue\CatalogSearchRestApi\Plugin\CatalogSearchRequestParametersIntegerRestRequestValidatorPlugin;
51
use Spryker\Glue\CatalogSearchRestApi\Plugin\CatalogSearchResourceRoutePlugin;
52
use Spryker\Glue\CatalogSearchRestApi\Plugin\CatalogSearchSuggestionsResourceRoutePlugin;
53
use Spryker\Glue\CategoriesRestApi\Plugin\CategoriesResourceRoutePlugin;
54
use Spryker\Glue\CategoriesRestApi\Plugin\CategoryResourceRoutePlugin;
55
use Spryker\Glue\CheckoutRestApi\CheckoutRestApiConfig;
56
use Spryker\Glue\CheckoutRestApi\Plugin\GlueApplication\CheckoutDataResourcePlugin;
57
use Spryker\Glue\CheckoutRestApi\Plugin\GlueApplication\CheckoutResourcePlugin;
58
use Spryker\Glue\CmsPagesContentBannersResourceRelationship\Plugin\GlueApplication\ContentBannerByCmsPageResourceRelationshipPlugin;
59
use Spryker\Glue\CmsPagesContentProductAbstractListsResourceRelationship\Plugin\GlueApplication\ContentProductAbstractListByCmsPageResourceRelationshipPlugin;
60
use Spryker\Glue\CmsPagesRestApi\CmsPagesRestApiConfig;
61
use Spryker\Glue\CmsPagesRestApi\Plugin\GlueApplication\CmsPagesResourceRoutePlugin;
62
use Spryker\Glue\ConfigurableBundleCartsRestApi\Plugin\GlueApplication\ConfiguredBundlesResourceRoutePlugin;
63
use Spryker\Glue\ConfigurableBundleCartsRestApi\Plugin\GlueApplication\GuestConfiguredBundlesResourceRoutePlugin;
64
use Spryker\Glue\ConfigurableBundlesProductsResourceRelationship\ConfigurableBundlesProductsResourceRelationshipConfig;
65
use Spryker\Glue\ConfigurableBundlesProductsResourceRelationship\Plugin\GlueApplication\ProductConcreteByConfigurableBundleTemplateSlotResourceRelationshipPlugin;
66
use Spryker\Glue\ConfigurableBundlesRestApi\ConfigurableBundlesRestApiConfig;
67
use Spryker\Glue\ConfigurableBundlesRestApi\Plugin\GlueApplication\ConfigurableBundleTemplateImageSetByConfigurableBundleTemplateResourceRelationshipPlugin;
68
use Spryker\Glue\ConfigurableBundlesRestApi\Plugin\GlueApplication\ConfigurableBundleTemplateSlotByConfigurableBundleTemplateResourceRelationshipPlugin;
69
use Spryker\Glue\ConfigurableBundlesRestApi\Plugin\GlueApplication\ConfigurableBundleTemplatesResourceRoutePlugin;
70
use Spryker\Glue\ContentBannersRestApi\Plugin\ContentBannerResourceRoutePlugin;
71
use Spryker\Glue\ContentProductAbstractListsRestApi\ContentProductAbstractListsRestApiConfig;
72
use Spryker\Glue\ContentProductAbstractListsRestApi\Plugin\GlueApplication\AbstractProductsResourceRoutePlugin as ContentProductAbstractListAbstractProductsResourceRoutePlugin;
73
use Spryker\Glue\ContentProductAbstractListsRestApi\Plugin\GlueApplication\ContentProductAbstractListsResourceRoutePlugin;
74
use Spryker\Glue\ContentProductAbstractListsRestApi\Plugin\GlueApplication\ProductAbstractByContentProductAbstractListResourceRelationshipPlugin;
75
use Spryker\Glue\CustomerAccessRestApi\Plugin\GlueApplication\CustomerAccessFormatRequestPlugin;
76
use Spryker\Glue\CustomerAccessRestApi\Plugin\GlueApplication\CustomerAccessResourceRoutePlugin;
77
use Spryker\Glue\CustomersRestApi\CustomersRestApiConfig;
78
use Spryker\Glue\CustomersRestApi\Plugin\AddressesResourceRoutePlugin;
79
use Spryker\Glue\CustomersRestApi\Plugin\CustomerForgottenPasswordResourceRoutePlugin;
80
use Spryker\Glue\CustomersRestApi\Plugin\CustomerPasswordResourceRoutePlugin;
81
use Spryker\Glue\CustomersRestApi\Plugin\CustomerRestorePasswordResourceRoutePlugin;
82
use Spryker\Glue\CustomersRestApi\Plugin\CustomersResourceRoutePlugin;
83
use Spryker\Glue\CustomersRestApi\Plugin\CustomersToAddressesRelationshipPlugin;
84
use Spryker\Glue\CustomersRestApi\Plugin\GlueApplication\AddressByCheckoutDataResourceRelationshipPlugin;
85
use Spryker\Glue\CustomersRestApi\Plugin\GlueApplication\CustomerConfirmationResourceRoutePlugin;
86
use Spryker\Glue\CustomersRestApi\Plugin\SetCustomerBeforeActionPlugin;
87
use Spryker\Glue\DiscountPromotionsRestApi\DiscountPromotionsRestApiConfig;
88
use Spryker\Glue\DiscountPromotionsRestApi\Plugin\GlueApplication\PromotionItemByQuoteTransferResourceRelationshipPlugin;
89
use Spryker\Glue\EntityTagsRestApi\Plugin\GlueApplication\EntityTagFormatResponseHeadersPlugin;
90
use Spryker\Glue\EntityTagsRestApi\Plugin\GlueApplication\EntityTagRestRequestValidatorPlugin;
91
use Spryker\Glue\EventDispatcher\Plugin\Application\EventDispatcherApplicationPlugin;
92
use Spryker\Glue\GiftCardsRestApi\Plugin\GlueApplication\GiftCardByQuoteResourceRelationshipPlugin;
93
use Spryker\Glue\GlueApplication\GlueApplicationDependencyProvider as SprykerGlueApplicationDependencyProvider;
94
use Spryker\Glue\GlueApplication\Plugin\Application\GlueApplicationApplicationPlugin;
95
use Spryker\Glue\GlueApplication\Plugin\GlueApplication\CorsValidateHttpRequestPlugin;
96
use Spryker\Glue\GlueApplication\Plugin\GlueApplication\FallbackStorefrontApiGlueApplicationBootstrapPlugin;
97
use Spryker\Glue\GlueApplication\Plugin\GlueApplication\HeadersValidateHttpRequestPlugin;
98
use Spryker\Glue\GlueApplication\Plugin\GlueApplication\PaginationParametersValidateHttpRequestPlugin;
99
use Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\ResourceRelationshipCollectionInterface;
100
use Spryker\Glue\GlueBackendApiApplication\Plugin\GlueApplication\BackendApiGlueApplicationBootstrapPlugin;
101
use Spryker\Glue\GlueBackendApiApplication\Plugin\GlueApplication\BackendRouterProviderPlugin;
102
use Spryker\Glue\GlueBackendApiApplication\Plugin\GlueApplication\ControllerConfigurationCacheCollectorPlugin as BackendControllerConfigurationCacheCollectorPlugin;
103
use Spryker\Glue\GlueBackendApiApplication\Plugin\GlueApplication\CustomRouteRoutesProviderPlugin as BackendCustomRouteRoutesProviderPlugin;
104
use Spryker\Glue\GlueBackendApiApplication\Plugin\GlueApplication\ResourcesProviderPlugin as BackendResourcesProviderPlugin;
105
use Spryker\Glue\GlueBackendApiApplicationAuthorizationConnector\Plugin\GlueApplication\IsProtectedTableColumnExpanderPlugin as BackendIsProtectedTableColumnExpanderPlugin;
106
use Spryker\Glue\GlueJsonApiConvention\Plugin\GlueApplication\JsonApiConventionPlugin;
107
use Spryker\Glue\GlueStorefrontApiApplication\Plugin\GlueApplication\ControllerConfigurationCacheCollectorPlugin as StorefrontControllerConfigurationCacheCollectorPlugin;
108
use Spryker\Glue\GlueStorefrontApiApplication\Plugin\GlueApplication\CustomRouteRoutesProviderPlugin as StorefrontCustomRouteRoutesProviderPlugin;
109
use Spryker\Glue\GlueStorefrontApiApplication\Plugin\GlueApplication\ResourcesProviderPlugin as StorefrontResourcesProviderPlugin;
110
use Spryker\Glue\GlueStorefrontApiApplication\Plugin\GlueApplication\StorefrontApiGlueApplicationBootstrapPlugin;
111
use Spryker\Glue\GlueStorefrontApiApplication\Plugin\GlueApplication\StorefrontRouterProviderPlugin;
112
use Spryker\Glue\GlueStorefrontApiApplicationAuthorizationConnector\Plugin\GlueApplication\IsProtectedTableColumnExpanderPlugin as StorefrontIsProtectedTableColumnExpanderPlugin;
113
use Spryker\Glue\HealthCheck\Plugin\HealthCheckResourceRoutePlugin;
114
use Spryker\Glue\Http\Plugin\Application\HttpApplicationPlugin;
115
use Spryker\Glue\Locale\Plugin\Application\LocaleApplicationPlugin;
116
use Spryker\Glue\NavigationsCategoryNodesResourceRelationship\Plugin\GlueApplication\CategoryNodeByResourceIdResourceRelationshipPlugin;
117
use Spryker\Glue\NavigationsRestApi\NavigationsRestApiConfig;
118
use Spryker\Glue\NavigationsRestApi\Plugin\ResourceRoute\NavigationsResourceRoutePlugin;
119
use Spryker\Glue\OrderPaymentsRestApi\Plugin\OrderPaymentsResourceRoutePlugin;
120
use Spryker\Glue\OrdersRestApi\OrdersRestApiConfig;
121
use Spryker\Glue\OrdersRestApi\Plugin\CustomerOrdersResourceRoutePlugin;
122
use Spryker\Glue\OrdersRestApi\Plugin\OrderItemByResourceIdResourceRelationshipPlugin;
123
use Spryker\Glue\OrdersRestApi\Plugin\OrderRelationshipByOrderReferencePlugin;
124
use Spryker\Glue\OrdersRestApi\Plugin\OrdersResourceRoutePlugin;
125
use Spryker\Glue\PaymentsRestApi\Plugin\GlueApplication\PaymentMethodsByCheckoutDataResourceRelationshipPlugin;
126
use Spryker\Glue\ProductAttributesRestApi\Plugin\GlueApplication\ProductManagementAttributesResourceRoutePlugin;
127
use Spryker\Glue\ProductAvailabilitiesRestApi\Plugin\AbstractProductAvailabilitiesRoutePlugin;
128
use Spryker\Glue\ProductAvailabilitiesRestApi\Plugin\ConcreteProductAvailabilitiesRoutePlugin;
129
use Spryker\Glue\ProductAvailabilitiesRestApi\Plugin\GlueApplication\AbstractProductAvailabilitiesByResourceIdResourceRelationshipPlugin;
130
use Spryker\Glue\ProductAvailabilitiesRestApi\Plugin\GlueApplication\ConcreteProductAvailabilitiesByResourceIdResourceRelationshipPlugin;
131
use Spryker\Glue\ProductBundleCartsRestApi\Plugin\GlueApplication\BundledItemByQuoteResourceRelationshipPlugin;
132
use Spryker\Glue\ProductBundleCartsRestApi\Plugin\GlueApplication\BundleItemByQuoteResourceRelationshipPlugin;
133
use Spryker\Glue\ProductBundleCartsRestApi\Plugin\GlueApplication\GuestBundleItemByQuoteResourceRelationshipPlugin;
134
use Spryker\Glue\ProductBundleCartsRestApi\ProductBundleCartsRestApiConfig;
135
use Spryker\Glue\ProductBundlesRestApi\Plugin\GlueApplication\BundledProductByProductConcreteSkuResourceRelationshipPlugin;
136
use Spryker\Glue\ProductBundlesRestApi\Plugin\GlueApplication\ConcreteProductsBundledProductsResourceRoutePlugin;
137
use Spryker\Glue\ProductBundlesRestApi\ProductBundlesRestApiConfig;
138
use Spryker\Glue\ProductConfigurationsRestApi\Plugin\GlueApplication\CartItemProductConfigurationRestRequestValidatorPlugin;
139
use Spryker\Glue\ProductImageSetsRestApi\Plugin\AbstractProductImageSetsRoutePlugin;
140
use Spryker\Glue\ProductImageSetsRestApi\Plugin\ConcreteProductImageSetsRoutePlugin;
141
use Spryker\Glue\ProductImageSetsRestApi\Plugin\Relationship\AbstractProductsProductImageSetsResourceRelationshipPlugin;
142
use Spryker\Glue\ProductImageSetsRestApi\Plugin\Relationship\ConcreteProductsProductImageSetsResourceRelationshipPlugin;
143
use Spryker\Glue\ProductLabelsRestApi\Plugin\GlueApplication\ProductLabelByProductConcreteSkuResourceRelationshipPlugin;
144
use Spryker\Glue\ProductLabelsRestApi\Plugin\GlueApplication\ProductLabelsRelationshipByResourceIdPlugin;
145
use Spryker\Glue\ProductLabelsRestApi\Plugin\GlueApplication\ProductLabelsResourceRoutePlugin;
146
use Spryker\Glue\ProductOptionsRestApi\Plugin\GlueApplication\ProductOptionsByProductAbstractSkuResourceRelationshipPlugin;
147
use Spryker\Glue\ProductOptionsRestApi\Plugin\GlueApplication\ProductOptionsByProductConcreteSkuResourceRelationshipPlugin;
148
use Spryker\Glue\ProductPricesRestApi\Plugin\AbstractProductPricesRoutePlugin;
149
use Spryker\Glue\ProductPricesRestApi\Plugin\ConcreteProductPricesRoutePlugin;
150
use Spryker\Glue\ProductPricesRestApi\Plugin\GlueApplication\AbstractProductPricesByResourceIdResourceRelationshipPlugin;
151
use Spryker\Glue\ProductPricesRestApi\Plugin\GlueApplication\ConcreteProductPricesByResourceIdResourceRelationshipPlugin;
152
use Spryker\Glue\ProductPricesRestApi\Plugin\GlueApplication\CurrencyParameterValidatorPlugin;
153
use Spryker\Glue\ProductPricesRestApi\Plugin\GlueApplication\PriceModeParameterValidatorPlugin;
154
use Spryker\Glue\ProductPricesRestApi\Plugin\GlueApplication\SetCurrencyBeforeActionPlugin;
155
use Spryker\Glue\ProductPricesRestApi\Plugin\GlueApplication\SetPriceModeBeforeActionPlugin;
156
use Spryker\Glue\ProductReviewsRestApi\Plugin\GlueApplication\AbstractProductsProductReviewsResourceRoutePlugin;
157
use Spryker\Glue\ProductReviewsRestApi\Plugin\GlueApplication\ProductReviewsRelationshipByProductAbstractSkuPlugin;
158
use Spryker\Glue\ProductReviewsRestApi\Plugin\GlueApplication\ProductReviewsRelationshipByProductConcreteSkuPlugin;
159
use Spryker\Glue\ProductsCategoriesResourceRelationship\Plugin\AbstractProductsCategoriesResourceRelationshipPlugin;
160
use Spryker\Glue\ProductsRestApi\Plugin\AbstractProductsResourceRoutePlugin;
161
use Spryker\Glue\ProductsRestApi\Plugin\ConcreteProductsResourceRoutePlugin;
162
use Spryker\Glue\ProductsRestApi\Plugin\GlueApplication\ConcreteProductBySkuResourceRelationshipPlugin;
163
use Spryker\Glue\ProductsRestApi\Plugin\GlueApplication\ConcreteProductsByProductConcreteIdsResourceRelationshipPlugin;
164
use Spryker\Glue\ProductsRestApi\Plugin\GlueApplication\ProductAbstractByProductAbstractSkuResourceRelationshipPlugin;
165
use Spryker\Glue\ProductsRestApi\Plugin\GlueApplication\ProductAbstractBySkuResourceRelationshipPlugin;
166
use Spryker\Glue\ProductsRestApi\ProductsRestApiConfig;
167
use Spryker\Glue\ProductTaxSetsRestApi\Plugin\GlueApplication\ProductTaxSetByProductAbstractSkuResourceRelationshipPlugin;
168
use Spryker\Glue\ProductTaxSetsRestApi\Plugin\GlueApplication\ProductTaxSetsResourceRoutePlugin;
169
use Spryker\Glue\RelatedProductsRestApi\Plugin\GlueApplication\RelatedProductsResourceRoutePlugin;
170
use Spryker\Glue\RestRequestValidator\Plugin\ValidateRestRequestAttributesPlugin;
171
use Spryker\Glue\Router\Plugin\Application\RouterApplicationPlugin;
172
use Spryker\Glue\SalesReturnsRestApi\Plugin\ReturnItemByReturnResourceRelationshipPlugin;
173
use Spryker\Glue\SalesReturnsRestApi\Plugin\ReturnReasonsResourceRoutePlugin;
174
use Spryker\Glue\SalesReturnsRestApi\Plugin\ReturnsResourceRoutePlugin;
175
use Spryker\Glue\SalesReturnsRestApi\SalesReturnsRestApiConfig;
176
use Spryker\Glue\SecurityBlockerRestApi\Plugin\GlueApplication\SecurityBlockerAgentControllerAfterActionPlugin;
177
use Spryker\Glue\SecurityBlockerRestApi\Plugin\GlueApplication\SecurityBlockerAgentRestRequestValidatorPlugin;
178
use Spryker\Glue\SecurityBlockerRestApi\Plugin\GlueApplication\SecurityBlockerCustomerControllerAfterActionPlugin;
179
use Spryker\Glue\SecurityBlockerRestApi\Plugin\GlueApplication\SecurityBlockerCustomerRestRequestValidatorPlugin;
180
use Spryker\Glue\Session\Plugin\Application\SessionApplicationPlugin;
181
use Spryker\Glue\ShipmentsRestApi\Plugin\GlueApplication\OrderShipmentByOrderResourceRelationshipPlugin;
182
use Spryker\Glue\ShipmentsRestApi\Plugin\GlueApplication\ShipmentMethodsByShipmentResourceRelationshipPlugin;
183
use Spryker\Glue\ShipmentsRestApi\Plugin\GlueApplication\ShipmentsByCheckoutDataResourceRelationshipPlugin;
184
use Spryker\Glue\ShipmentsRestApi\ShipmentsRestApiConfig;
185
use Spryker\Glue\StoresRestApi\Plugin\Application\StoreHttpHeaderApplicationPlugin;
186
use Spryker\Glue\StoresRestApi\Plugin\StoresResourceRoutePlugin;
187
use Spryker\Glue\UpSellingProductsRestApi\Plugin\GlueApplication\CartUpSellingProductsResourceRoutePlugin;
188
use Spryker\Glue\UpSellingProductsRestApi\Plugin\GlueApplication\GuestCartUpSellingProductsResourceRoutePlugin;
189
use Spryker\Glue\UrlsRestApi\Plugin\GlueApplication\UrlResolverResourceRoutePlugin;
190
use Spryker\Glue\WishlistsRestApi\Plugin\WishlistItemsResourceRoutePlugin;
191
use Spryker\Glue\WishlistsRestApi\Plugin\WishlistRelationshipByResourceIdPlugin;
192
use Spryker\Glue\WishlistsRestApi\Plugin\WishlistsResourceRoutePlugin;
193
use Spryker\Glue\WishlistsRestApi\WishlistsRestApiConfig;
194
195
/**
196
 * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
197
 */
198
class GlueApplicationDependencyProvider extends SprykerGlueApplicationDependencyProvider
199
{
200
    /**
201
     * {@inheritDoc}
202
     *
203
     * @deprecated Will be removed without replacement.
204
     *
205
     * @return array<\Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\ResourceRoutePluginInterface>
206
     */
207
    protected function getResourceRoutePlugins(): array
208
    {
209
        return [
210
            new ConcreteProductsResourceRoutePlugin(),
211
            new AccessTokensResourceRoutePlugin(),
212
            new RefreshTokensResourceRoutePlugin(),
213
            new CatalogSearchResourceRoutePlugin(),
214
            new StoresResourceRoutePlugin(),
0 ignored issues
show
Deprecated Code introduced by
The class Spryker\Glue\StoresRestA...oresResourceRoutePlugin has been deprecated: Use {@link \Spryker\Glue\StoresApi\Plugin\GlueStorefrontApiApplication\StoresResource} instead. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated  annotation

214
            /** @scrutinizer ignore-deprecated */ new StoresResourceRoutePlugin(),
Loading history...
215
            new CatalogSearchSuggestionsResourceRoutePlugin(),
216
            new ConcreteProductAvailabilitiesRoutePlugin(),
217
            new AbstractProductAvailabilitiesRoutePlugin(),
218
            new CategoriesResourceRoutePlugin(),
219
            new CategoryResourceRoutePlugin(),
220
            new CustomersResourceRoutePlugin(),
221
            new CustomerForgottenPasswordResourceRoutePlugin(),
222
            new CustomerRestorePasswordResourceRoutePlugin(),
223
            new AbstractProductsResourceRoutePlugin(),
224
            new AbstractProductPricesRoutePlugin(),
225
            new ConcreteProductPricesRoutePlugin(),
226
            new CartsResourceRoutePlugin(),
227
            new CartItemsResourceRoutePlugin(),
228
            new AbstractProductImageSetsRoutePlugin(),
229
            new ConcreteProductImageSetsRoutePlugin(),
230
            new OrdersResourceRoutePlugin(),
231
            new WishlistsResourceRoutePlugin(),
232
            new WishlistItemsResourceRoutePlugin(),
233
            new CustomerPasswordResourceRoutePlugin(),
234
            new AddressesResourceRoutePlugin(),
235
            new GuestCartsResourceRoutePlugin(),
236
            new GuestCartItemsResourceRoutePlugin(),
237
            new ProductLabelsResourceRoutePlugin(),
238
            new CheckoutDataResourcePlugin(),
239
            new CheckoutResourcePlugin(),
240
            new NavigationsResourceRoutePlugin(),
241
            new RelatedProductsResourceRoutePlugin(),
242
            new CartUpSellingProductsResourceRoutePlugin(),
243
            new GuestCartUpSellingProductsResourceRoutePlugin(),
244
            new ConcreteAlternativeProductsResourceRoutePlugin(),
245
            new AbstractAlternativeProductsResourceRoutePlugin(),
246
            new ProductTaxSetsResourceRoutePlugin(),
247
            new OrderPaymentsResourceRoutePlugin(),
248
            new ContentBannerResourceRoutePlugin(),
249
            new UrlResolverResourceRoutePlugin(),
250
            new CustomerAccessResourceRoutePlugin(),
251
            new AbstractProductsProductReviewsResourceRoutePlugin(),
252
            new HealthCheckResourceRoutePlugin(),
253
            new CartVouchersResourceRoutePlugin(),
254
            new GuestCartVouchersResourceRoutePlugin(),
255
            new ReturnReasonsResourceRoutePlugin(),
256
            new ReturnsResourceRoutePlugin(),
257
            new CartCodesResourceRoutePlugin(),
258
            new GuestCartCodesResourceRoutePlugin(),
259
            new CmsPagesResourceRoutePlugin(),
260
            new ContentProductAbstractListAbstractProductsResourceRoutePlugin(),
261
            new ContentProductAbstractListsResourceRoutePlugin(),
262
            new AgentAccessTokensResourceRoutePlugin(),
263
            new AgentCustomerImpersonationAccessTokensResourceRoutePlugin(),
264
            new AgentCustomerSearchResourceRoutePlugin(),
265
            new ConcreteProductsBundledProductsResourceRoutePlugin(),
266
            new ProductManagementAttributesResourceRoutePlugin(),
267
            new CustomerConfirmationResourceRoutePlugin(),
268
            new TokenResourceRoutePlugin(),
269
            new CustomerOrdersResourceRoutePlugin(),
270
            new CustomerCartsResourceRoutePlugin(),
271
            new AvailabilityNotificationsResourceRoutePlugin(),
272
            new CustomerAvailabilityNotificationsResourceRoutePlugin(),
273
            new ConfigurableBundleTemplatesResourceRoutePlugin(),
274
            new MyAvailabilityNotificationsResourceRoutePlugin(),
275
            new ConfiguredBundlesResourceRoutePlugin(),
276
            new GuestConfiguredBundlesResourceRoutePlugin(),
277
        ];
278
    }
279
280
    /**
281
     * {@inheritDoc}
282
     *
283
     * @deprecated Will be removed without replacement.
284
     *
285
     * @return array<\Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\ValidateHttpRequestPluginInterface>
286
     */
287
    protected function getValidateHttpRequestPlugins(): array
288
    {
289
        return [
290
            new CorsValidateHttpRequestPlugin(),
0 ignored issues
show
Deprecated Code introduced by
The class Spryker\Glue\GlueApplica...lidateHttpRequestPlugin has been deprecated: Will be removed without replacement. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated  annotation

290
            /** @scrutinizer ignore-deprecated */ new CorsValidateHttpRequestPlugin(),
Loading history...
291
            new PaginationParametersValidateHttpRequestPlugin(),
0 ignored issues
show
Deprecated Code introduced by
The class Spryker\Glue\GlueApplica...lidateHttpRequestPlugin has been deprecated: Will be removed without replacement. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated  annotation

291
            /** @scrutinizer ignore-deprecated */ new PaginationParametersValidateHttpRequestPlugin(),
Loading history...
292
            new HeadersValidateHttpRequestPlugin(),
0 ignored issues
show
Deprecated Code introduced by
The class Spryker\Glue\GlueApplica...lidateHttpRequestPlugin has been deprecated: Will be removed without replacement. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated  annotation

292
            /** @scrutinizer ignore-deprecated */ new HeadersValidateHttpRequestPlugin(),
Loading history...
293
        ];
294
    }
295
296
    /**
297
     * {@inheritDoc}
298
     *
299
     * @deprecated Will be removed without replacement.
300
     *
301
     * @return array<\Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\FormattedControllerBeforeActionPluginInterface>
302
     */
303
    protected function getFormattedControllerBeforeActionTerminatePlugins(): array
304
    {
305
        return [
306
            new FormattedControllerBeforeActionValidateAccessTokenPlugin(),
307
        ];
308
    }
309
310
    /**
311
     * {@inheritDoc}
312
     *
313
     * @deprecated Will be removed without replacement.
314
     *
315
     * @return array<\Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\FormatRequestPluginInterface>
316
     */
317
    protected function getFormatRequestPlugins(): array
318
    {
319
        return [
320
            new CustomerAccessFormatRequestPlugin(),
321
        ];
322
    }
323
324
    /**
325
     * {@inheritDoc}
326
     *
327
     * @deprecated Will be removed without replacement.
328
     *
329
     * @return array<\Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\ValidateRestRequestPluginInterface>
330
     */
331
    protected function getValidateRestRequestPlugins(): array
332
    {
333
        return [
334
            new AnonymousCustomerUniqueIdValidatorPlugin(),
335
        ];
336
    }
337
338
    /**
339
     * {@inheritDoc}
340
     *
341
     * @deprecated Will be removed without replacement.
342
     *
343
     * @return array<\Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\RestUserValidatorPluginInterface>
344
     */
345
    protected function getRestUserValidatorPlugins(): array
346
    {
347
        return [
348
            new AgentRestUserValidatorPlugin(),
349
        ];
350
    }
351
352
    /**
353
     * {@inheritDoc}
354
     *
355
     * @deprecated Will be removed without replacement.
356
     *
357
     * @return array<\Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\RestRequestValidatorPluginInterface>
358
     */
359
    protected function getRestRequestValidatorPlugins(): array
360
    {
361
        return [
362
            new SecurityBlockerCustomerRestRequestValidatorPlugin(),
363
            new SecurityBlockerAgentRestRequestValidatorPlugin(),
364
            new AccessTokenRestRequestValidatorPlugin(),
365
            new AgentAccessTokenRestRequestValidatorPlugin(),
366
            new SimultaneousAuthenticationRestRequestValidatorPlugin(),
367
            new ValidateRestRequestAttributesPlugin(),
368
            new CurrencyParameterValidatorPlugin(),
369
            new PriceModeParameterValidatorPlugin(),
370
            new EntityTagRestRequestValidatorPlugin(),
371
            new CatalogSearchRequestParametersIntegerRestRequestValidatorPlugin(),
372
            new CartItemProductConfigurationRestRequestValidatorPlugin(),
373
        ];
374
    }
375
376
    /**
377
     * {@inheritDoc}
378
     *
379
     * @deprecated Will be removed without replacement.
380
     *
381
     * @return array<\Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\FormatResponseHeadersPluginInterface>
382
     */
383
    protected function getFormatResponseHeadersPlugins(): array
384
    {
385
        return [
386
            new FormatAuthenticationErrorResponseHeadersPlugin(),
387
            new EntityTagFormatResponseHeadersPlugin(),
388
        ];
389
    }
390
391
    /**
392
     * {@inheritDoc}
393
     *
394
     * @deprecated Will be removed without replacement.
395
     *
396
     * @return array<\Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\ControllerBeforeActionPluginInterface>
397
     */
398
    protected function getControllerBeforeActionPlugins(): array
399
    {
400
        return [
401
            new SetAnonymousCustomerIdControllerBeforeActionPlugin(),
402
            new SetCustomerBeforeActionPlugin(),
403
            new SetCurrencyBeforeActionPlugin(),
404
            new SetPriceModeBeforeActionPlugin(),
405
        ];
406
    }
407
408
    /**
409
     * @deprecated Will be removed without replacement.
410
     *
411
     * @return array<\Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\ControllerAfterActionPluginInterface>
412
     */
413
    protected function getControllerAfterActionPlugins(): array
414
    {
415
        return [
416
            new SecurityBlockerCustomerControllerAfterActionPlugin(),
417
            new SecurityBlockerAgentControllerAfterActionPlugin(),
418
        ];
419
    }
420
421
    /**
422
     * {@inheritDoc}
423
     *
424
     * @deprecated Will be removed without replacement.
425
     *
426
     * @param \Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\ResourceRelationshipCollectionInterface $resourceRelationshipCollection
427
     *
428
     * @return \Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\ResourceRelationshipCollectionInterface
429
     */
430
    protected function getResourceRelationshipPlugins(
431
        ResourceRelationshipCollectionInterface $resourceRelationshipCollection,
432
    ): ResourceRelationshipCollectionInterface {
433
        $resourceRelationshipCollection->addRelationship(
434
            ProductsRestApiConfig::RESOURCE_ABSTRACT_PRODUCTS,
435
            new AbstractProductsProductImageSetsResourceRelationshipPlugin(),
436
        );
437
        $resourceRelationshipCollection->addRelationship(
438
            ProductsRestApiConfig::RESOURCE_ABSTRACT_PRODUCTS,
439
            new ConcreteProductsByProductConcreteIdsResourceRelationshipPlugin(),
440
        );
441
        $resourceRelationshipCollection->addRelationship(
442
            ProductsRestApiConfig::RESOURCE_CONCRETE_PRODUCTS,
443
            new ConcreteProductsProductImageSetsResourceRelationshipPlugin(),
444
        );
445
        $resourceRelationshipCollection->addRelationship(
446
            WishlistsRestApiConfig::RESOURCE_WISHLIST_ITEMS,
447
            new ConcreteProductBySkuResourceRelationshipPlugin(),
448
        );
449
        $resourceRelationshipCollection->addRelationship(
450
            CatalogSearchRestApiConfig::RESOURCE_CATALOG_SEARCH,
451
            new CatalogSearchAbstractProductsResourceRelationshipPlugin(),
452
        );
453
        $resourceRelationshipCollection->addRelationship(
454
            CatalogSearchRestApiConfig::RESOURCE_CATALOG_SEARCH_SUGGESTIONS,
455
            new CatalogSearchSuggestionsAbstractProductsResourceRelationshipPlugin(),
456
        );
457
        $resourceRelationshipCollection->addRelationship(
458
            ProductsRestApiConfig::RESOURCE_ABSTRACT_PRODUCTS,
459
            new AbstractProductAvailabilitiesByResourceIdResourceRelationshipPlugin(),
460
        );
461
        $resourceRelationshipCollection->addRelationship(
462
            ProductsRestApiConfig::RESOURCE_CONCRETE_PRODUCTS,
463
            new ConcreteProductAvailabilitiesByResourceIdResourceRelationshipPlugin(),
464
        );
465
        $resourceRelationshipCollection->addRelationship(
466
            ProductsRestApiConfig::RESOURCE_ABSTRACT_PRODUCTS,
467
            new AbstractProductPricesByResourceIdResourceRelationshipPlugin(),
468
        );
469
        $resourceRelationshipCollection->addRelationship(
470
            ProductsRestApiConfig::RESOURCE_CONCRETE_PRODUCTS,
471
            new ConcreteProductPricesByResourceIdResourceRelationshipPlugin(),
472
        );
473
        $resourceRelationshipCollection->addRelationship(
474
            ProductsRestApiConfig::RESOURCE_ABSTRACT_PRODUCTS,
475
            new AbstractProductsCategoriesResourceRelationshipPlugin(),
476
        );
477
        $resourceRelationshipCollection->addRelationship(
478
            CustomersRestApiConfig::RESOURCE_CUSTOMERS,
479
            new CustomersToAddressesRelationshipPlugin(),
480
        );
481
        $resourceRelationshipCollection->addRelationship(
482
            CustomersRestApiConfig::RESOURCE_CUSTOMERS,
483
            new WishlistRelationshipByResourceIdPlugin(),
484
        );
485
        $resourceRelationshipCollection->addRelationship(
486
            ProductsRestApiConfig::RESOURCE_ABSTRACT_PRODUCTS,
487
            new ProductLabelsRelationshipByResourceIdPlugin(),
488
        );
489
        $resourceRelationshipCollection->addRelationship(
490
            ProductsRestApiConfig::RESOURCE_CONCRETE_PRODUCTS,
491
            new ProductLabelByProductConcreteSkuResourceRelationshipPlugin(),
492
        );
493
        $resourceRelationshipCollection->addRelationship(
494
            CheckoutRestApiConfig::RESOURCE_CHECKOUT,
495
            new OrderRelationshipByOrderReferencePlugin(),
496
        );
497
        $resourceRelationshipCollection->addRelationship(
498
            CartsRestApiConfig::RESOURCE_CART_ITEMS,
499
            new ConcreteProductBySkuResourceRelationshipPlugin(),
500
        );
501
        $resourceRelationshipCollection->addRelationship(
502
            CartsRestApiConfig::RESOURCE_GUEST_CARTS_ITEMS,
503
            new ConcreteProductBySkuResourceRelationshipPlugin(),
504
        );
505
        $resourceRelationshipCollection->addRelationship(
506
            NavigationsRestApiConfig::RESOURCE_NAVIGATIONS,
507
            new CategoryNodeByResourceIdResourceRelationshipPlugin(),
508
        );
509
        $resourceRelationshipCollection->addRelationship(
510
            ProductsRestApiConfig::RESOURCE_ABSTRACT_PRODUCTS,
511
            new ProductTaxSetByProductAbstractSkuResourceRelationshipPlugin(),
512
        );
513
        $resourceRelationshipCollection->addRelationship(
514
            ProductsRestApiConfig::RESOURCE_ABSTRACT_PRODUCTS,
515
            new ProductReviewsRelationshipByProductAbstractSkuPlugin(),
516
        );
517
        $resourceRelationshipCollection->addRelationship(
518
            ProductsRestApiConfig::RESOURCE_CONCRETE_PRODUCTS,
519
            new ProductReviewsRelationshipByProductConcreteSkuPlugin(),
520
        );
521
        $resourceRelationshipCollection->addRelationship(
522
            ProductsRestApiConfig::RESOURCE_ABSTRACT_PRODUCTS,
523
            new ProductOptionsByProductAbstractSkuResourceRelationshipPlugin(),
524
        );
525
        $resourceRelationshipCollection->addRelationship(
526
            ProductsRestApiConfig::RESOURCE_CONCRETE_PRODUCTS,
527
            new ProductOptionsByProductConcreteSkuResourceRelationshipPlugin(),
528
        );
529
        $resourceRelationshipCollection->addRelationship(
530
            CartsRestApiConfig::RESOURCE_CARTS,
531
            new VoucherByQuoteResourceRelationshipPlugin(),
532
        );
533
        $resourceRelationshipCollection->addRelationship(
534
            CartsRestApiConfig::RESOURCE_GUEST_CARTS,
535
            new VoucherByQuoteResourceRelationshipPlugin(),
536
        );
537
        $resourceRelationshipCollection->addRelationship(
538
            CartsRestApiConfig::RESOURCE_CARTS,
539
            new CartRuleByQuoteResourceRelationshipPlugin(),
540
        );
541
        $resourceRelationshipCollection->addRelationship(
542
            CartsRestApiConfig::RESOURCE_GUEST_CARTS,
543
            new CartRuleByQuoteResourceRelationshipPlugin(),
544
        );
545
        $resourceRelationshipCollection->addRelationship(
546
            CartsRestApiConfig::RESOURCE_CARTS,
547
            new CartItemsByQuoteResourceRelationshipPlugin(),
548
        );
549
        $resourceRelationshipCollection->addRelationship(
550
            CartsRestApiConfig::RESOURCE_CARTS,
551
            new PromotionItemByQuoteTransferResourceRelationshipPlugin(),
552
        );
553
        $resourceRelationshipCollection->addRelationship(
554
            CartsRestApiConfig::RESOURCE_GUEST_CARTS,
555
            new PromotionItemByQuoteTransferResourceRelationshipPlugin(),
556
        );
557
        $resourceRelationshipCollection->addRelationship(
558
            DiscountPromotionsRestApiConfig::RESOURCE_PROMOTIONAL_ITEMS,
559
            new ProductAbstractBySkuResourceRelationshipPlugin(),
560
        );
561
        $resourceRelationshipCollection->addRelationship(
562
            CheckoutRestApiConfig::RESOURCE_CHECKOUT_DATA,
563
            new ShipmentsByCheckoutDataResourceRelationshipPlugin(),
564
        );
565
        $resourceRelationshipCollection->addRelationship(
566
            ShipmentsRestApiConfig::RESOURCE_SHIPMENTS,
567
            new ShipmentMethodsByShipmentResourceRelationshipPlugin(),
568
        );
569
        $resourceRelationshipCollection->addRelationship(
570
            CheckoutRestApiConfig::RESOURCE_CHECKOUT_DATA,
571
            new PaymentMethodsByCheckoutDataResourceRelationshipPlugin(),
572
        );
573
        $resourceRelationshipCollection->addRelationship(
574
            CheckoutRestApiConfig::RESOURCE_CHECKOUT_DATA,
575
            new AddressByCheckoutDataResourceRelationshipPlugin(),
576
        );
577
        $resourceRelationshipCollection->addRelationship(
578
            CheckoutRestApiConfig::RESOURCE_CHECKOUT_DATA,
579
            new CartByRestCheckoutDataResourceRelationshipPlugin(),
580
        );
581
        $resourceRelationshipCollection->addRelationship(
582
            CheckoutRestApiConfig::RESOURCE_CHECKOUT_DATA,
583
            new GuestCartByRestCheckoutDataResourceRelationshipPlugin(),
584
        );
585
        $resourceRelationshipCollection->addRelationship(
586
            SalesReturnsRestApiConfig::RESOURCE_RETURNS,
587
            new ReturnItemByReturnResourceRelationshipPlugin(),
588
        );
589
        $resourceRelationshipCollection->addRelationship(
590
            OrdersRestApiConfig::RESOURCE_ORDERS,
591
            new OrderShipmentByOrderResourceRelationshipPlugin(),
592
        );
593
        $resourceRelationshipCollection->addRelationship(
594
            SalesReturnsRestApiConfig::RESOURCE_RETURN_ITEMS,
595
            new OrderItemByResourceIdResourceRelationshipPlugin(),
596
        );
597
        $resourceRelationshipCollection->addRelationship(
598
            CartsRestApiConfig::RESOURCE_CARTS,
599
            new GiftCardByQuoteResourceRelationshipPlugin(),
600
        );
601
        $resourceRelationshipCollection->addRelationship(
602
            CartsRestApiConfig::RESOURCE_GUEST_CARTS,
603
            new GiftCardByQuoteResourceRelationshipPlugin(),
604
        );
605
        $resourceRelationshipCollection->addRelationship(
606
            ProductBundlesRestApiConfig::RESOURCE_BUNDLED_PRODUCTS,
607
            new ConcreteProductBySkuResourceRelationshipPlugin(),
608
        );
609
        $resourceRelationshipCollection->addRelationship(
610
            ProductsRestApiConfig::RESOURCE_CONCRETE_PRODUCTS,
611
            new BundledProductByProductConcreteSkuResourceRelationshipPlugin(),
612
        );
613
        $resourceRelationshipCollection->addRelationship(
614
            ProductsRestApiConfig::RESOURCE_CONCRETE_PRODUCTS,
615
            new ProductAbstractByProductAbstractSkuResourceRelationshipPlugin(),
616
        );
617
        $resourceRelationshipCollection->addRelationship(
618
            CartsRestApiConfig::RESOURCE_CARTS,
619
            new BundleItemByQuoteResourceRelationshipPlugin(),
620
        );
621
        $resourceRelationshipCollection->addRelationship(
622
            CartsRestApiConfig::RESOURCE_GUEST_CARTS,
623
            new GuestBundleItemByQuoteResourceRelationshipPlugin(),
624
        );
625
        $resourceRelationshipCollection->addRelationship(
626
            ProductBundleCartsRestApiConfig::RESOURCE_BUNDLE_ITEMS,
627
            new BundledItemByQuoteResourceRelationshipPlugin(),
628
        );
629
        $resourceRelationshipCollection->addRelationship(
630
            ProductBundleCartsRestApiConfig::RESOURCE_BUNDLE_ITEMS,
631
            new ConcreteProductBySkuResourceRelationshipPlugin(),
632
        );
633
        $resourceRelationshipCollection->addRelationship(
634
            ProductBundleCartsRestApiConfig::RESOURCE_BUNDLED_ITEMS,
635
            new ConcreteProductBySkuResourceRelationshipPlugin(),
636
        );
637
        $resourceRelationshipCollection->addRelationship(
638
            CartsRestApiConfig::RESOURCE_GUEST_CARTS,
639
            new GuestCartItemsByQuoteResourceRelationshipPlugin(),
640
        );
641
        $resourceRelationshipCollection->addRelationship(
642
            ConfigurableBundlesRestApiConfig::RESOURCE_CONFIGURABLE_BUNDLE_TEMPLATES,
643
            new ConfigurableBundleTemplateSlotByConfigurableBundleTemplateResourceRelationshipPlugin(),
644
        );
645
646
        $resourceRelationshipCollection->addRelationship(
647
            ConfigurableBundlesRestApiConfig::RESOURCE_CONFIGURABLE_BUNDLE_TEMPLATES,
648
            new ConfigurableBundleTemplateImageSetByConfigurableBundleTemplateResourceRelationshipPlugin(),
649
        );
650
651
        $resourceRelationshipCollection->addRelationship(
652
            ConfigurableBundlesProductsResourceRelationshipConfig::RESOURCE_CONFIGURABLE_BUNDLE_TEMPLATE_SLOTS,
653
            new ProductConcreteByConfigurableBundleTemplateSlotResourceRelationshipPlugin(),
654
        );
655
        $resourceRelationshipCollection->addRelationship(
656
            CmsPagesRestApiConfig::RESOURCE_CMS_PAGES,
657
            new ContentBannerByCmsPageResourceRelationshipPlugin(),
658
        );
659
        $resourceRelationshipCollection->addRelationship(
660
            CmsPagesRestApiConfig::RESOURCE_CMS_PAGES,
661
            new ContentProductAbstractListByCmsPageResourceRelationshipPlugin(),
662
        );
663
        $resourceRelationshipCollection->addRelationship(
664
            ContentProductAbstractListsRestApiConfig::RESOURCE_CONTENT_PRODUCT_ABSTRACT_LISTS,
665
            new ProductAbstractByContentProductAbstractListResourceRelationshipPlugin(),
666
        );
667
668
        return $resourceRelationshipCollection;
669
    }
670
671
    /**
672
     * @deprecated Will be removed without replacement.
673
     *
674
     * @return array<\Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\RestUserFinderPluginInterface>
675
     */
676
    protected function getRestUserFinderPlugins(): array
677
    {
678
        return [
679
            new RestUserFinderByAccessTokenPlugin(),
680
            new AgentAccessTokenRestUserFinderPlugin(),
681
        ];
682
    }
683
684
    /**
685
     * @deprecated Will be removed without replacement.
686
     *
687
     * @return array<\Spryker\Shared\ApplicationExtension\Dependency\Plugin\ApplicationPluginInterface>
688
     */
689
    protected function getApplicationPlugins(): array
690
    {
691
        return [
692
            new HttpApplicationPlugin(),
693
            new SessionApplicationPlugin(),
694
            new EventDispatcherApplicationPlugin(),
695
            new GlueApplicationApplicationPlugin(),
0 ignored issues
show
Deprecated Code introduced by
The class Spryker\Glue\GlueApplica...cationApplicationPlugin has been deprecated: Will be removed without replacement. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated  annotation

695
            /** @scrutinizer ignore-deprecated */ new GlueApplicationApplicationPlugin(),
Loading history...
696
            new RouterApplicationPlugin(),
697
            new StoreHttpHeaderApplicationPlugin(),
0 ignored issues
show
Deprecated Code introduced by
The class Spryker\Glue\StoresRestA...HeaderApplicationPlugin has been deprecated: Use {@link \Spryker\Glue\StoresApi\Plugin\GlueStorefrontApiApplication\StoreApplicationPlugin} for SAPI and {@link \Spryker\Glue\StoresBackendApi\Plugin\GlueBackendApiApplication\StoreApplicationPlugin} for BAPI instead. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated  annotation

697
            /** @scrutinizer ignore-deprecated */ new StoreHttpHeaderApplicationPlugin(),
Loading history...
698
            new LocaleApplicationPlugin(),
699
        ];
700
    }
701
702
    /**
703
     * @return array<\Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\GlueApplicationBootstrapPluginInterface>
704
     */
705
    protected function getGlueApplicationBootstrapPlugins(): array
706
    {
707
        return [
708
            new StorefrontApiGlueApplicationBootstrapPlugin(),
709
            new BackendApiGlueApplicationBootstrapPlugin(),
710
            new FallbackStorefrontApiGlueApplicationBootstrapPlugin(),
0 ignored issues
show
Deprecated Code introduced by
The class Spryker\Glue\GlueApplica...licationBootstrapPlugin has been deprecated: Will be removed without replacement. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated  annotation

710
            /** @scrutinizer ignore-deprecated */ new FallbackStorefrontApiGlueApplicationBootstrapPlugin(),
Loading history...
711
        ];
712
    }
713
714
    /**
715
     * @return array<\Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\ConventionPluginInterface>
716
     */
717
    protected function getConventionPlugins(): array
718
    {
719
        return [
720
            new JsonApiConventionPlugin(),
721
        ];
722
    }
723
724
    /**
725
     * @return array<\Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\ControllerConfigurationCacheCollectorPluginInterface>
726
     */
727
    protected function getControllerConfigurationCacheCollectorPlugins(): array
728
    {
729
        return [
730
            new StorefrontControllerConfigurationCacheCollectorPlugin(),
731
            new BackendControllerConfigurationCacheCollectorPlugin(),
732
        ];
733
    }
734
735
    /**
736
     * @return array<\Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\ApiApplicationEndpointProviderPluginInterface>
737
     */
738
    protected function getGlueApplicationRouterProviderPlugins(): array
739
    {
740
        return [
741
            new BackendRouterProviderPlugin(),
742
            new StorefrontRouterProviderPlugin(),
743
        ];
744
    }
745
746
    /**
747
     * @return array<\Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\RoutesProviderPluginInterface>
748
     */
749
    protected function getRoutesProviderPlugins(): array
750
    {
751
        return [
752
            new StorefrontCustomRouteRoutesProviderPlugin(),
753
            new BackendCustomRouteRoutesProviderPlugin(),
754
        ];
755
    }
756
757
    /**
758
     * @return array<\Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\ResourcesProviderPluginInterface>
759
     */
760
    protected function getResourcesProviderPlugins(): array
761
    {
762
        return [
763
            new StorefrontResourcesProviderPlugin(),
764
            new BackendResourcesProviderPlugin(),
765
        ];
766
    }
767
768
    /**
769
     * @return array<\Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\TableColumnExpanderPluginInterface>
770
     */
771
    protected function getTableColumnExpanderPlugins(): array
772
    {
773
        return [
774
            new BackendIsProtectedTableColumnExpanderPlugin(),
775
            new StorefrontIsProtectedTableColumnExpanderPlugin(),
776
        ];
777
    }
778
}
779