ConsoleDependencyProvider::getConsoleCommands()   B
last analyzed

Complexity

Conditions 3
Paths 3

Size

Total Lines 270
Code Lines 232

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
eloc 232
c 2
b 0
f 0
dl 0
loc 270
rs 8
cc 3
nc 3
nop 1

How to fix   Long Method   

Long Method

Small methods make your code easier to understand, in particular if combined with a good name. Besides, if your method is small, finding a good name is usually much easier.

For example, if you find yourself adding comments to a method's body, this is usually a good sign to extract the commented part to a new method, and use the comment as a starting point when coming up with a good name for this new method.

Commonly applied refactorings include:

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\Console;
11
12
use Pyz\Zed\DataImport\DataImportConfig;
13
use Pyz\Zed\Development\Communication\Console\AcceptanceCodeTestConsole;
14
use Pyz\Zed\Development\Communication\Console\ApiCodeTestConsole;
15
use Pyz\Zed\Development\Communication\Console\FunctionalCodeTestConsole;
16
use SecurityChecker\Command\SecurityCheckerCommand;
17
use Spryker\Zed\AclMerchantPortal\Communication\Console\AclEntitySynchronizeConsole;
18
use Spryker\Zed\BusinessOnBehalfDataImport\BusinessOnBehalfDataImportConfig;
19
use Spryker\Zed\Cache\Communication\Console\EmptyAllCachesConsole;
20
use Spryker\Zed\CategoryDataImport\CategoryDataImportConfig;
21
use Spryker\Zed\CompanyBusinessUnitDataImport\CompanyBusinessUnitDataImportConfig;
22
use Spryker\Zed\CompanyDataImport\CompanyDataImportConfig;
23
use Spryker\Zed\CompanyUnitAddressDataImport\CompanyUnitAddressDataImportConfig;
24
use Spryker\Zed\CompanyUnitAddressLabelDataImport\CompanyUnitAddressLabelDataImportConfig;
25
use Spryker\Zed\Console\Communication\Plugin\Console\MultiProcessRunConsole;
26
use Spryker\Zed\Console\ConsoleDependencyProvider as SprykerConsoleDependencyProvider;
27
use Spryker\Zed\ContentNavigationDataImport\ContentNavigationDataImportConfig;
28
use Spryker\Zed\CountryDataImport\CountryDataImportConfig;
29
use Spryker\Zed\CurrencyDataImport\CurrencyDataImportConfig;
30
use Spryker\Zed\Customer\Communication\Console\CustomerPasswordResetConsole;
31
use Spryker\Zed\Customer\Communication\Console\CustomerPasswordSetConsole;
32
use Spryker\Zed\CustomerStorage\Communication\Console\DeleteExpiredCustomerInvalidatedRecordsConsole;
33
use Spryker\Zed\DataExport\Communication\Console\DataExportConsole;
34
use Spryker\Zed\DataImport\Communication\Console\DataImportConsole;
35
use Spryker\Zed\DataImport\Communication\Console\DataImportDumpConsole;
36
use Spryker\Zed\DataImportMerchant\Communication\Console\DataImportMerchantImportConsole;
37
use Spryker\Zed\Development\Communication\Console\CodeArchitectureSnifferConsole;
38
use Spryker\Zed\Development\Communication\Console\CodeFixturesConsole;
39
use Spryker\Zed\Development\Communication\Console\CodePhpstanConsole;
40
use Spryker\Zed\Development\Communication\Console\CodeStyleSnifferConsole;
41
use Spryker\Zed\Development\Communication\Console\CodeTestConsole;
42
use Spryker\Zed\Development\Communication\Console\GenerateClientIdeAutoCompletionConsole;
43
use Spryker\Zed\Development\Communication\Console\GenerateGlueBackendIdeAutoCompletionConsole;
44
use Spryker\Zed\Development\Communication\Console\GenerateGlueIdeAutoCompletionConsole;
45
use Spryker\Zed\Development\Communication\Console\GenerateIdeAutoCompletionConsole;
46
use Spryker\Zed\Development\Communication\Console\GenerateServiceIdeAutoCompletionConsole;
47
use Spryker\Zed\Development\Communication\Console\GenerateYvesIdeAutoCompletionConsole;
48
use Spryker\Zed\Development\Communication\Console\GenerateZedIdeAutoCompletionConsole;
49
use Spryker\Zed\Development\Communication\Console\PluginUsageFinderConsole;
50
use Spryker\Zed\Development\Communication\Console\RemoveClientIdeAutoCompletionConsole;
51
use Spryker\Zed\Development\Communication\Console\RemoveGlueBackendIdeAutoCompletionConsole;
52
use Spryker\Zed\Development\Communication\Console\RemoveGlueIdeAutoCompletionConsole;
53
use Spryker\Zed\Development\Communication\Console\RemoveIdeAutoCompletionConsole;
54
use Spryker\Zed\Development\Communication\Console\RemoveServiceIdeAutoCompletionConsole;
55
use Spryker\Zed\Development\Communication\Console\RemoveYvesIdeAutoCompletionConsole;
56
use Spryker\Zed\Development\Communication\Console\RemoveZedIdeAutoCompletionConsole;
57
use Spryker\Zed\DocumentationGeneratorRestApi\Communication\Console\GenerateRestApiDocumentationConsole;
58
use Spryker\Zed\Event\Communication\Plugin\Console\EventListenerDumpConsole;
59
use Spryker\Zed\EventBehavior\Communication\Console\EventBehaviorTriggerTimeoutConsole;
60
use Spryker\Zed\EventBehavior\Communication\Console\EventTriggerListenerConsole;
61
use Spryker\Zed\EventBehavior\Communication\Plugin\Console\EventBehaviorPostHookPlugin;
62
use Spryker\Zed\EventDispatcher\Communication\Plugin\Console\EventDispatcherApplicationPlugin;
63
use Spryker\Zed\Form\Communication\Plugin\Application\FormApplicationPlugin;
64
use Spryker\Zed\IndexGenerator\Communication\Console\PostgresIndexGeneratorConsole;
65
use Spryker\Zed\IndexGenerator\Communication\Console\PostgresIndexRemoverConsole;
66
use Spryker\Zed\Installer\Communication\Console\InitializeDatabaseConsole;
67
use Spryker\Zed\Kernel\Communication\Console\ResolvableClassCacheConsole;
68
use Spryker\Zed\Kernel\Container;
69
use Spryker\Zed\Locale\Communication\Plugin\Application\ConsoleLocaleApplicationPlugin;
70
use Spryker\Zed\LocaleDataImport\LocaleDataImportConfig;
71
use Spryker\Zed\Log\Communication\Console\DeleteLogFilesConsole;
72
use Spryker\Zed\Maintenance\Communication\Console\MaintenanceDisableConsole;
73
use Spryker\Zed\Maintenance\Communication\Console\MaintenanceEnableConsole;
74
use Spryker\Zed\MerchantCommissionDataImport\MerchantCommissionDataImportConfig;
75
use Spryker\Zed\MerchantOms\Communication\Console\TriggerEventFromCsvFileConsole;
76
use Spryker\Zed\MerchantProductApprovalDataImport\MerchantProductApprovalDataImportConfig;
77
use Spryker\Zed\MessageBroker\Communication\Plugin\Console\MessageBrokerDebugConsole;
78
use Spryker\Zed\MessageBroker\Communication\Plugin\Console\MessageBrokerWorkerConsole;
79
use Spryker\Zed\MessageBrokerAws\Communication\Console\MessageBrokerAwsSnsTopicsCreatorConsole;
80
use Spryker\Zed\MessageBrokerAws\Communication\Console\MessageBrokerAwsSqsQueuesCreatorConsole;
81
use Spryker\Zed\MessageBrokerAws\Communication\Console\MessageBrokerSqsToSnsSubscriberConsole;
82
use Spryker\Zed\Monitoring\Communication\Plugin\Console\MonitoringConsolePlugin;
83
use Spryker\Zed\MultiCartDataImport\MultiCartDataImportConfig;
84
use Spryker\Zed\Oauth\Communication\Console\OauthTokenConsole;
85
use Spryker\Zed\Oauth\Communication\Console\ScopeCacheCollectorConsole;
86
use Spryker\Zed\Oms\Communication\Console\CheckConditionConsole as OmsCheckConditionConsole;
87
use Spryker\Zed\Oms\Communication\Console\CheckTimeoutConsole as OmsCheckTimeoutConsole;
88
use Spryker\Zed\Oms\Communication\Console\ClearLocksConsole as OmsClearLocksConsole;
89
use Spryker\Zed\Oms\Communication\Console\ProcessCacheWarmUpConsole as OmsProcessCacheWarmUpConsole;
90
use Spryker\Zed\Opentelemetry\Communication\Plugin\Console\OpentelemetryGeneratorConsole;
91
use Spryker\Zed\OrderMatrix\Communication\Console\OrderMatrixConsole;
92
use Spryker\Zed\PaymentDataImport\PaymentDataImportConfig;
93
use Spryker\Zed\PriceProduct\Communication\Console\PriceProductStoreOptimizeConsole;
94
use Spryker\Zed\PriceProductDataImport\PriceProductDataImportConfig;
95
use Spryker\Zed\PriceProductMerchantRelationship\Communication\Console\PriceProductMerchantRelationshipDeleteConsole;
96
use Spryker\Zed\PriceProductSchedule\Communication\Console\PriceProductScheduleApplyConsole;
97
use Spryker\Zed\PriceProductSchedule\Communication\Console\PriceProductScheduleCleanupConsole;
98
use Spryker\Zed\PriceProductScheduleDataImport\PriceProductScheduleDataImportConfig;
99
use Spryker\Zed\ProductAlternativeDataImport\ProductAlternativeDataImportConfig;
100
use Spryker\Zed\ProductApprovalDataImport\ProductApprovalDataImportConfig;
101
use Spryker\Zed\ProductDiscontinued\Communication\Console\DeactivateDiscontinuedProductsConsole;
102
use Spryker\Zed\ProductDiscontinuedDataImport\ProductDiscontinuedDataImportConfig;
103
use Spryker\Zed\ProductLabel\Communication\Console\ProductLabelRelationUpdaterConsole;
104
use Spryker\Zed\ProductLabel\Communication\Console\ProductLabelValidityConsole;
105
use Spryker\Zed\ProductLabelDataImport\ProductLabelDataImportConfig;
106
use Spryker\Zed\ProductOfferShoppingListDataImport\ProductOfferShoppingListDataImportConfig;
107
use Spryker\Zed\ProductOfferValidity\Communication\Console\ProductOfferValidityConsole;
108
use Spryker\Zed\ProductPackagingUnitDataImport\ProductPackagingUnitDataImportConfig;
109
use Spryker\Zed\ProductQuantityDataImport\ProductQuantityDataImportConfig;
110
use Spryker\Zed\ProductRelation\Communication\Console\ProductRelationUpdaterConsole;
111
use Spryker\Zed\ProductRelationDataImport\ProductRelationDataImportConfig;
112
use Spryker\Zed\ProductValidity\Communication\Console\ProductValidityConsole;
113
use Spryker\Zed\Propel\Communication\Console\DatabaseDropConsole;
114
use Spryker\Zed\Propel\Communication\Console\DatabaseDropTablesConsole;
115
use Spryker\Zed\Propel\Communication\Console\DeleteMigrationFilesConsole;
116
use Spryker\Zed\Propel\Communication\Console\DeployPreparePropelConsole;
117
use Spryker\Zed\Propel\Communication\Console\EntityTransferGeneratorConsole;
118
use Spryker\Zed\Propel\Communication\Console\PropelSchemaValidatorConsole;
119
use Spryker\Zed\Propel\Communication\Console\PropelSchemaXmlNameValidatorConsole;
120
use Spryker\Zed\Propel\Communication\Console\RemoveEntityTransferConsole;
121
use Spryker\Zed\Propel\Communication\Plugin\Application\PropelApplicationPlugin;
122
use Spryker\Zed\Publisher\Communication\Console\PublisherTriggerEventsConsole;
123
use Spryker\Zed\Queue\Communication\Console\QueueDumpConsole;
124
use Spryker\Zed\Queue\Communication\Console\QueueTaskConsole;
125
use Spryker\Zed\Queue\Communication\Console\QueueWorkerConsole;
126
use Spryker\Zed\Quote\Communication\Console\DeleteExpiredGuestQuoteConsole;
127
use Spryker\Zed\QuoteRequest\Communication\Console\CloseOutdatedQuoteRequestConsole;
128
use Spryker\Zed\RabbitMq\Communication\Console\DeleteAllExchangesConsole;
129
use Spryker\Zed\RabbitMq\Communication\Console\DeleteAllQueuesConsole;
130
use Spryker\Zed\RabbitMq\Communication\Console\PurgeAllQueuesConsole;
131
use Spryker\Zed\RabbitMq\Communication\Console\QueueSetupConsole;
132
use Spryker\Zed\RabbitMq\Communication\Console\SetUserPermissionsConsole;
133
use Spryker\Zed\RestRequestValidator\Communication\Console\BuildRestApiValidationCacheConsole;
134
use Spryker\Zed\RestRequestValidator\Communication\Console\RemoveRestApiValidationCacheConsole;
135
use Spryker\Zed\Router\Communication\Plugin\Console\BackendGatewayRouterCacheWarmUpConsole;
136
use Spryker\Zed\Router\Communication\Plugin\Console\BackofficeRouterCacheWarmUpConsole;
137
use Spryker\Zed\Router\Communication\Plugin\Console\MerchantPortalRouterCacheWarmUpConsole;
138
use Spryker\Zed\Router\Communication\Plugin\Console\RouterCacheWarmUpConsole;
139
use Spryker\Zed\SalesInvoice\Communication\Console\OrderInvoiceSendConsole;
140
use Spryker\Zed\SalesOms\Communication\Console\ImportOrderItemsStatusConsole;
141
use Spryker\Zed\Scheduler\Communication\Console\SchedulerCleanConsole;
142
use Spryker\Zed\Scheduler\Communication\Console\SchedulerResumeConsole;
143
use Spryker\Zed\Scheduler\Communication\Console\SchedulerSetupConsole;
144
use Spryker\Zed\Scheduler\Communication\Console\SchedulerSuspendConsole;
145
use Spryker\Zed\Search\Communication\Console\GenerateSourceMapConsole;
146
use Spryker\Zed\Search\Communication\Console\RemoveSourceMapConsole;
147
use Spryker\Zed\Search\Communication\Console\SearchConsole;
148
use Spryker\Zed\Search\Communication\Console\SearchSetupSourcesConsole;
149
use Spryker\Zed\SearchElasticsearch\Communication\Console\ElasticsearchCloseIndexConsole;
150
use Spryker\Zed\SearchElasticsearch\Communication\Console\ElasticsearchCopyIndexConsole;
151
use Spryker\Zed\SearchElasticsearch\Communication\Console\ElasticsearchDeleteIndexConsole;
152
use Spryker\Zed\SearchElasticsearch\Communication\Console\ElasticsearchOpenIndexConsole;
153
use Spryker\Zed\SearchElasticsearch\Communication\Console\ElasticsearchSnapshotCreateConsole;
154
use Spryker\Zed\SearchElasticsearch\Communication\Console\ElasticsearchSnapshotDeleteConsole;
155
use Spryker\Zed\SearchElasticsearch\Communication\Console\ElasticsearchSnapshotRegisterRepositoryConsole;
156
use Spryker\Zed\SearchElasticsearch\Communication\Console\ElasticsearchSnapshotRestoreConsole;
157
use Spryker\Zed\Security\Communication\Plugin\Application\ConsoleSecurityApplicationPlugin;
158
use Spryker\Zed\Session\Communication\Console\SessionRemoveLockConsole;
159
use Spryker\Zed\SetupFrontend\Communication\Console\CleanUpDependenciesConsole;
160
use Spryker\Zed\SetupFrontend\Communication\Console\InstallPackageManagerConsole;
161
use Spryker\Zed\SetupFrontend\Communication\Console\InstallProjectDependenciesConsole;
162
use Spryker\Zed\SetupFrontend\Communication\Console\MerchantPortalBuildFrontendConsole;
163
use Spryker\Zed\SetupFrontend\Communication\Console\MerchantPortalInstallDependenciesConsole;
164
use Spryker\Zed\SetupFrontend\Communication\Console\Npm\RunnerConsole;
165
use Spryker\Zed\SetupFrontend\Communication\Console\YvesBuildFrontendConsole;
166
use Spryker\Zed\SetupFrontend\Communication\Console\YvesInstallDependenciesConsole;
167
use Spryker\Zed\SetupFrontend\Communication\Console\ZedBuildFrontendConsole;
168
use Spryker\Zed\SetupFrontend\Communication\Console\ZedInstallDependenciesConsole;
169
use Spryker\Zed\SharedCartDataImport\SharedCartDataImportConfig;
170
use Spryker\Zed\ShipmentDataImport\ShipmentDataImportConfig;
171
use Spryker\Zed\ShoppingListDataImport\ShoppingListDataImportConfig;
172
use Spryker\Zed\Sitemap\Communication\Console\SitemapGenerateConsole;
173
use Spryker\Zed\StateMachine\Communication\Console\CheckConditionConsole as StateMachineCheckConditionConsole;
174
use Spryker\Zed\StateMachine\Communication\Console\CheckTimeoutConsole as StateMachineCheckTimeoutConsole;
175
use Spryker\Zed\StateMachine\Communication\Console\ClearLocksConsole as StateMachineClearLocksConsole;
176
use Spryker\Zed\StockDataImport\StockDataImportConfig;
177
use Spryker\Zed\Storage\Communication\Console\StorageDeleteAllConsole;
178
use Spryker\Zed\StorageRedis\Communication\Console\StorageRedisDataReSaveConsole;
179
use Spryker\Zed\StorageRedis\Communication\Console\StorageRedisExportRdbConsole;
180
use Spryker\Zed\StorageRedis\Communication\Console\StorageRedisImportRdbConsole;
181
use Spryker\Zed\StoreContextDataImport\StoreContextDataImportConfig;
182
use Spryker\Zed\StoreDataImport\StoreDataImportConfig;
183
use Spryker\Zed\Synchronization\Communication\Console\ExportSynchronizedDataConsole;
184
use Spryker\Zed\Synchronization\Communication\Plugin\Console\DirectSynchronizationConsolePlugin;
185
use Spryker\Zed\Transfer\Communication\Console\DataBuilderGeneratorConsole;
186
use Spryker\Zed\Transfer\Communication\Console\RemoveDataBuilderConsole;
187
use Spryker\Zed\Transfer\Communication\Console\RemoveTransferConsole;
188
use Spryker\Zed\Transfer\Communication\Console\TransferGeneratorConsole;
189
use Spryker\Zed\Transfer\Communication\Console\ValidatorConsole;
190
use Spryker\Zed\Translator\Communication\Console\CleanTranslationCacheConsole;
191
use Spryker\Zed\Translator\Communication\Console\GenerateTranslationCacheConsole;
192
use Spryker\Zed\Twig\Communication\Console\CacheWarmerConsole;
193
use Spryker\Zed\Twig\Communication\Console\TwigTemplateWarmerConsole;
194
use Spryker\Zed\Twig\Communication\Plugin\Application\TwigApplicationPlugin;
195
use Spryker\Zed\Uuid\Communication\Console\UuidGeneratorConsole;
196
use Spryker\Zed\ZedNavigation\Communication\Console\BuildNavigationConsole;
197
use Spryker\Zed\ZedNavigation\Communication\Console\RemoveNavigationCacheConsole;
198
use SprykerEco\Zed\NewRelic\Communication\Console\RecordDeploymentConsole;
199
use SprykerShop\Zed\DateTimeConfiguratorPageExample\Communication\Console\DateTimeProductConfiguratorBuildFrontendConsole;
200
201
/**
202
 * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
203
 * @method \Pyz\Zed\Console\ConsoleConfig getConfig()
204
 */
205
class ConsoleDependencyProvider extends SprykerConsoleDependencyProvider
206
{
207
    /**
208
     * @var string
209
     */
210
    protected const COMMAND_SEPARATOR = ':';
211
212
    /**
213
     * @param \Spryker\Zed\Kernel\Container $container
214
     *
215
     * @return array<\Symfony\Component\Console\Command\Command>
216
     */
217
    protected function getConsoleCommands(Container $container): array
218
    {
219
        $commands = [
220
            new OpentelemetryGeneratorConsole(),
221
            new CacheWarmerConsole(),
222
            new TwigTemplateWarmerConsole(),
223
            new BuildNavigationConsole(),
224
            new RemoveNavigationCacheConsole(),
225
            new BuildRestApiValidationCacheConsole(),
226
            new RemoveRestApiValidationCacheConsole(),
227
            new EmptyAllCachesConsole(),
228
            new TransferGeneratorConsole(),
229
            new RemoveTransferConsole(),
230
            new EntityTransferGeneratorConsole(),
231
            new RemoveEntityTransferConsole(),
232
            new InitializeDatabaseConsole(),
233
            new SearchConsole(),
234
            new GenerateSourceMapConsole(),
235
            new RemoveSourceMapConsole(),
236
            new SearchSetupSourcesConsole(),
237
            new OmsCheckConditionConsole(),
238
            new OmsCheckTimeoutConsole(),
239
            new OmsClearLocksConsole(),
240
            new OmsProcessCacheWarmUpConsole(),
241
            new StateMachineCheckTimeoutConsole(),
242
            new StateMachineCheckConditionConsole(),
243
            new StateMachineClearLocksConsole(),
244
            new ImportOrderItemsStatusConsole(),
245
            new SessionRemoveLockConsole(),
246
            new QueueTaskConsole(),
247
            new QueueWorkerConsole(),
248
            new ProductRelationUpdaterConsole(),
249
            new ProductLabelValidityConsole(),
250
            new ProductLabelRelationUpdaterConsole(),
251
            new ProductValidityConsole(),
252
            new OauthTokenConsole(),
253
            new DataImportConsole(),
254
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_STORE),
255
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_CURRENCY),
256
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . CategoryDataImportConfig::IMPORT_TYPE_CATEGORY),
257
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . CategoryDataImportConfig::IMPORT_TYPE_CATEGORY_STORE),
258
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_CATEGORY_TEMPLATE),
259
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_CUSTOMER),
260
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_GLOSSARY),
261
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_NAVIGATION),
262
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_NAVIGATION_NODE),
263
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_CMS_TEMPLATE),
264
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_CMS_BLOCK),
265
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_CMS_BLOCK_STORE),
266
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_DISCOUNT),
267
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_DISCOUNT_STORE),
268
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_DISCOUNT_VOUCHER),
269
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_ABSTRACT),
270
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_ABSTRACT_STORE),
271
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_CONCRETE),
272
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_IMAGE),
273
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_STOCK),
274
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_ATTRIBUTE_KEY),
275
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_MANAGEMENT_ATTRIBUTE),
276
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_GROUP),
277
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_OPTION),
278
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_OPTION_PRICE),
279
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_REVIEW),
280
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ProductLabelDataImportConfig::IMPORT_TYPE_PRODUCT_LABEL),
281
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ProductLabelDataImportConfig::IMPORT_TYPE_PRODUCT_LABEL_STORE),
282
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_SET),
283
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_SEARCH_ATTRIBUTE_MAP),
284
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_SEARCH_ATTRIBUTE),
285
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_SHIPMENT),
286
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_SHIPMENT_PRICE),
287
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_TAX),
288
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_DISCOUNT_AMOUNT),
289
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ShipmentDataImportConfig::IMPORT_TYPE_SHIPMENT),
290
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ShipmentDataImportConfig::IMPORT_TYPE_SHIPMENT_PRICE),
291
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ShipmentDataImportConfig::IMPORT_TYPE_SHIPMENT_METHOD_STORE),
292
293
            //core data importers
294
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . PriceProductDataImportConfig::IMPORT_TYPE_PRODUCT_PRICE),
295
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . CompanyDataImportConfig::IMPORT_TYPE_COMPANY),
296
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . CompanyBusinessUnitDataImportConfig::IMPORT_TYPE_COMPANY_BUSINESS_UNIT),
297
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . CompanyUnitAddressDataImportConfig::IMPORT_TYPE_COMPANY_UNIT_ADDRESS),
298
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . CompanyUnitAddressLabelDataImportConfig::IMPORT_TYPE_COMPANY_UNIT_ADDRESS_LABEL),
299
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . CompanyUnitAddressLabelDataImportConfig::IMPORT_TYPE_COMPANY_UNIT_ADDRESS_LABEL_RELATION),
300
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ProductAlternativeDataImportConfig::IMPORT_TYPE_PRODUCT_ALTERNATIVE), #ProductAlternativeFeature
301
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . BusinessOnBehalfDataImportConfig::IMPORT_TYPE_COMPANY_USER),
302
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ProductDiscontinuedDataImportConfig::IMPORT_TYPE_PRODUCT_DISCONTINUED), #ProductDiscontinuedFeature
303
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . MultiCartDataImportConfig::IMPORT_TYPE_MULTI_CART),
304
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . SharedCartDataImportConfig::IMPORT_TYPE_SHARED_CART),
305
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ProductPackagingUnitDataImportConfig::IMPORT_TYPE_PRODUCT_PACKAGING_UNIT),
306
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . PriceProductScheduleDataImportConfig::IMPORT_TYPE_PRODUCT_PRICE_SCHEDULE),
307
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ProductRelationDataImportConfig::IMPORT_TYPE_PRODUCT_RELATION),
308
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ProductRelationDataImportConfig::IMPORT_TYPE_PRODUCT_RELATION_STORE),
309
310
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ShoppingListDataImportConfig::IMPORT_TYPE_SHOPPING_LIST),
311
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ShoppingListDataImportConfig::IMPORT_TYPE_SHOPPING_LIST_ITEM),
312
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ShoppingListDataImportConfig::IMPORT_TYPE_SHOPPING_LIST_COMPANY_USER),
313
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ShoppingListDataImportConfig::IMPORT_TYPE_SHOPPING_LIST_COMPANY_BUSINESS_UNIT),
314
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ProductQuantityDataImportConfig::IMPORT_TYPE_PRODUCT_QUANTITY),
315
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . StockDataImportConfig::IMPORT_TYPE_STOCK),
316
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . StockDataImportConfig::IMPORT_TYPE_STOCK_STORE),
317
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . PaymentDataImportConfig::IMPORT_TYPE_PAYMENT_METHOD),
318
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . PaymentDataImportConfig::IMPORT_TYPE_PAYMENT_METHOD_STORE),
319
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ContentNavigationDataImportConfig::IMPORT_TYPE_CONTENT_NAVIGATION),
320
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . MerchantProductApprovalDataImportConfig::IMPORT_TYPE_MERCHANT_PRODUCT_APPROVAL_STATUS_DEFAULT),
321
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ProductApprovalDataImportConfig::IMPORT_TYPE_PRODUCT_APPROVAL_STATUS),
322
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . CountryDataImportConfig::IMPORT_TYPE_COUNTRY_STORE),
323
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . CurrencyDataImportConfig::IMPORT_TYPE_CURRENCY_STORE),
324
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . LocaleDataImportConfig::IMPORT_TYPE_LOCALE_STORE),
325
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . LocaleDataImportConfig::IMPORT_TYPE_DEFAULT_LOCALE_STORE),
326
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . StoreContextDataImportConfig::IMPORT_TYPE_STORE_CONTEXT),
327
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . StoreDataImportConfig::IMPORT_TYPE_STORE),
328
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ProductOfferShoppingListDataImportConfig::IMPORT_TYPE_PRODUCT_OFFER_SHOPPING_LIST_ITEM),
329
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . MerchantCommissionDataImportConfig::IMPORT_TYPE_MERCHANT_COMMISSION_GROUP),
330
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . MerchantCommissionDataImportConfig::IMPORT_TYPE_MERCHANT_COMMISSION),
331
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . MerchantCommissionDataImportConfig::IMPORT_TYPE_MERCHANT_COMMISSION_AMOUNT),
332
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . MerchantCommissionDataImportConfig::IMPORT_TYPE_MERCHANT_COMMISSION_STORE),
333
            new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . MerchantCommissionDataImportConfig::IMPORT_TYPE_MERCHANT_COMMISSION_MERCHANT),
334
335
            // Publish and Synchronization
336
            new EventBehaviorTriggerTimeoutConsole(),
337
            new PublisherTriggerEventsConsole(),
338
            new ExportSynchronizedDataConsole(),
339
340
            // Setup commands
341
            new RunnerConsole(),
0 ignored issues
show
Deprecated Code introduced by
The class Spryker\Zed\SetupFronten...nsole\Npm\RunnerConsole has been deprecated: Will be removed without replacement. Use `frontend:yves:build` for build Yves frontend. Use `frontend:zed:build` for build Zed frontend. ( Ignorable by Annotation )

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

341
            /** @scrutinizer ignore-deprecated */ new RunnerConsole(),
Loading history...
342
            new DeployPreparePropelConsole(),
343
344
            new DatabaseDropConsole(),
345
            new DatabaseDropTablesConsole(),
346
347
            new DeleteMigrationFilesConsole(),
348
349
            new DeleteLogFilesConsole(),
350
            new StorageRedisExportRdbConsole(),
351
            new StorageRedisImportRdbConsole(),
352
            new StorageDeleteAllConsole(),
353
            new ElasticsearchCloseIndexConsole(),
354
            new ElasticsearchCopyIndexConsole(),
355
            new ElasticsearchDeleteIndexConsole(),
356
            new ElasticsearchOpenIndexConsole(),
357
            new ElasticsearchSnapshotRegisterRepositoryConsole(),
358
            new ElasticsearchSnapshotDeleteConsole(),
359
            new ElasticsearchSnapshotCreateConsole(),
360
            new ElasticsearchSnapshotRestoreConsole(),
361
362
            new InstallPackageManagerConsole(),
363
            new CleanUpDependenciesConsole(),
364
            new InstallProjectDependenciesConsole(),
365
366
            new YvesInstallDependenciesConsole(),
0 ignored issues
show
Deprecated Code introduced by
The class Spryker\Zed\SetupFronten...tallDependenciesConsole has been deprecated: In next major all dependencies will be installed via {@see InstallProjectDependenciesConsole} ( Ignorable by Annotation )

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

366
            /** @scrutinizer ignore-deprecated */ new YvesInstallDependenciesConsole(),
Loading history...
367
            new YvesBuildFrontendConsole(),
368
369
            new ZedInstallDependenciesConsole(),
0 ignored issues
show
Deprecated Code introduced by
The class Spryker\Zed\SetupFronten...tallDependenciesConsole has been deprecated: In next major all dependencies will be installed via {@see InstallProjectDependenciesConsole} ( Ignorable by Annotation )

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

369
            /** @scrutinizer ignore-deprecated */ new ZedInstallDependenciesConsole(),
Loading history...
370
            new ZedBuildFrontendConsole(),
371
372
            new DeleteAllQueuesConsole(),
373
            new PurgeAllQueuesConsole(),
374
            new DeleteAllExchangesConsole(),
375
            new QueueSetupConsole(),
376
            new SetUserPermissionsConsole(),
377
378
            new MaintenanceEnableConsole(),
379
            new MaintenanceDisableConsole(),
380
381
            new DeactivateDiscontinuedProductsConsole(), #ProductDiscontinuedFeature
382
383
            new PriceProductStoreOptimizeConsole(),
384
            new PriceProductMerchantRelationshipDeleteConsole(),
385
386
            new DeleteExpiredGuestQuoteConsole(),
387
            new DeleteExpiredCustomerInvalidatedRecordsConsole(),
388
389
            new CleanTranslationCacheConsole(),
390
            new GenerateTranslationCacheConsole(),
391
392
            new CloseOutdatedQuoteRequestConsole(),
393
394
            new PriceProductScheduleApplyConsole(),
395
            new PriceProductScheduleCleanupConsole(),
396
            new UuidGeneratorConsole(),
397
            new BuildRestApiValidationCacheConsole(),
398
            new RemoveRestApiValidationCacheConsole(),
399
400
            new SchedulerSetupConsole(),
401
            new SchedulerCleanConsole(),
402
            new SchedulerSuspendConsole(),
403
            new SchedulerResumeConsole(),
404
405
            new BackofficeRouterCacheWarmUpConsole(),
406
            new BackendGatewayRouterCacheWarmUpConsole(),
407
            new MerchantPortalRouterCacheWarmUpConsole(),
408
            new RouterCacheWarmUpConsole(),
409
            new ResolvableClassCacheConsole(),
410
411
            new DataExportConsole(),
412
            new RecordDeploymentConsole(),
413
414
            new OrderInvoiceSendConsole(),
415
416
            new ProductOfferValidityConsole(),
417
418
            new MerchantPortalInstallDependenciesConsole(),
0 ignored issues
show
Deprecated Code introduced by
The class Spryker\Zed\SetupFronten...tallDependenciesConsole has been deprecated: In next major all dependencies will be installed via {@see InstallProjectDependenciesConsole} ( Ignorable by Annotation )

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

418
            /** @scrutinizer ignore-deprecated */ new MerchantPortalInstallDependenciesConsole(),
Loading history...
419
            new MerchantPortalBuildFrontendConsole(),
420
421
            new MessageBrokerWorkerConsole(),
422
            new ScopeCacheCollectorConsole(),
423
            new DateTimeProductConfiguratorBuildFrontendConsole(),
424
            new OrderMatrixConsole(),
425
            new AclEntitySynchronizeConsole(),
426
            new StorageRedisDataReSaveConsole(),
427
            new SitemapGenerateConsole(),
428
            new DataImportMerchantImportConsole(),
429
        ];
430
431
        $propelCommands = $container->getLocator()->propel()->facade()->getConsoleCommands();
432
        $commands = array_merge($commands, $propelCommands);
433
434
        if ($this->getConfig()->isDevelopmentConsoleCommandsEnabled()) {
435
            $commands[] = new EventListenerDumpConsole();
436
            $commands[] = new CodeTestConsole();
437
            $commands[] = new CodeStyleSnifferConsole();
438
            $commands[] = new CodeArchitectureSnifferConsole();
439
            $commands[] = new AcceptanceCodeTestConsole();
440
            $commands[] = new FunctionalCodeTestConsole();
441
            $commands[] = new ApiCodeTestConsole();
442
            $commands[] = new CodeFixturesConsole();
443
            $commands[] = new CodePhpstanConsole();
444
            $commands[] = new ValidatorConsole();
445
            $commands[] = new GenerateZedIdeAutoCompletionConsole();
446
            $commands[] = new RemoveZedIdeAutoCompletionConsole();
447
            $commands[] = new GenerateClientIdeAutoCompletionConsole();
448
            $commands[] = new RemoveClientIdeAutoCompletionConsole();
449
            $commands[] = new GenerateServiceIdeAutoCompletionConsole();
450
            $commands[] = new RemoveServiceIdeAutoCompletionConsole();
451
            $commands[] = new GenerateYvesIdeAutoCompletionConsole();
452
            $commands[] = new RemoveYvesIdeAutoCompletionConsole();
453
            $commands[] = new GenerateIdeAutoCompletionConsole();
454
            $commands[] = new RemoveIdeAutoCompletionConsole();
455
            $commands[] = new DataBuilderGeneratorConsole();
456
            $commands[] = new RemoveDataBuilderConsole();
457
            $commands[] = new DataBuilderGeneratorConsole();
458
            $commands[] = new PropelSchemaValidatorConsole();
459
            $commands[] = new PropelSchemaXmlNameValidatorConsole();
460
            $commands[] = new DataImportDumpConsole();
461
            $commands[] = new GenerateGlueIdeAutoCompletionConsole();
462
            $commands[] = new GenerateGlueBackendIdeAutoCompletionConsole();
463
            $commands[] = new RemoveGlueIdeAutoCompletionConsole();
464
            $commands[] = new RemoveGlueBackendIdeAutoCompletionConsole();
465
            $commands[] = new PluginUsageFinderConsole();
466
            $commands[] = new PostgresIndexGeneratorConsole();
467
            $commands[] = new PostgresIndexRemoverConsole();
468
            $commands[] = new QueueDumpConsole();
469
            $commands[] = new EventTriggerListenerConsole();
470
            $commands[] = new GenerateRestApiDocumentationConsole();
471
            $commands[] = new CustomerPasswordResetConsole();
472
            $commands[] = new CustomerPasswordSetConsole();
473
            $commands[] = new TriggerEventFromCsvFileConsole();
474
            $commands[] = new MultiProcessRunConsole();
475
476
            if (class_exists(SecurityCheckerCommand::class)) {
477
                $commands[] = new SecurityCheckerCommand();
478
            }
479
480
            $commands[] = new MessageBrokerDebugConsole();
481
            $commands[] = new MessageBrokerAwsSqsQueuesCreatorConsole();
0 ignored issues
show
Deprecated Code introduced by
The class Spryker\Zed\MessageBroke...SqsQueuesCreatorConsole 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

481
            $commands[] = /** @scrutinizer ignore-deprecated */ new MessageBrokerAwsSqsQueuesCreatorConsole();
Loading history...
482
            $commands[] = new MessageBrokerAwsSnsTopicsCreatorConsole();
0 ignored issues
show
Deprecated Code introduced by
The class Spryker\Zed\MessageBroke...SnsTopicsCreatorConsole 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

482
            $commands[] = /** @scrutinizer ignore-deprecated */ new MessageBrokerAwsSnsTopicsCreatorConsole();
Loading history...
483
            $commands[] = new MessageBrokerSqsToSnsSubscriberConsole();
0 ignored issues
show
Deprecated Code introduced by
The class Spryker\Zed\MessageBroke...sToSnsSubscriberConsole 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

483
            $commands[] = /** @scrutinizer ignore-deprecated */ new MessageBrokerSqsToSnsSubscriberConsole();
Loading history...
484
        }
485
486
        return $commands;
487
    }
488
489
    /**
490
     * @param \Spryker\Zed\Kernel\Container $container
491
     *
492
     * @return array<\Spryker\Zed\Console\Dependency\Plugin\ConsolePostRunHookPluginInterface>
493
     */
494
    public function getConsolePostRunHookPlugins(Container $container): array // phpcs:ignore SlevomatCodingStandard.Functions.UnusedParameter
495
    {
496
        return [
497
            new EventBehaviorPostHookPlugin(),
498
        ];
499
    }
500
501
    /**
502
     * @param \Spryker\Zed\Kernel\Container $container
503
     *
504
     * @return array<\Spryker\Shared\ApplicationExtension\Dependency\Plugin\ApplicationPluginInterface>
505
     */
506
    public function getApplicationPlugins(Container $container): array
507
    {
508
        $applicationPlugins = parent::getApplicationPlugins($container);
509
510
        $applicationPlugins[] = new ConsoleLocaleApplicationPlugin();
511
        $applicationPlugins[] = new ConsoleSecurityApplicationPlugin();
512
        $applicationPlugins[] = new PropelApplicationPlugin();
513
        $applicationPlugins[] = new TwigApplicationPlugin();
514
        $applicationPlugins[] = new FormApplicationPlugin();
515
        $applicationPlugins[] = new EventDispatcherApplicationPlugin();
516
517
        return $applicationPlugins;
518
    }
519
520
    /**
521
     * @param \Spryker\Zed\Kernel\Container $container
522
     *
523
     * @return array<\Symfony\Component\EventDispatcher\EventSubscriberInterface>
524
     */
525
    public function getEventSubscriber(Container $container): array // phpcs:ignore SlevomatCodingStandard.Functions.UnusedParameter
526
    {
527
        return [
528
            new MonitoringConsolePlugin(),
529
            new DirectSynchronizationConsolePlugin(),
530
        ];
531
    }
532
}
533