| Conditions | 3 |
| Paths | 3 |
| Total Lines | 270 |
| Code Lines | 232 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
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:
If many parameters/temporary variables are present:
| 1 | <?php |
||
| 216 | protected function getConsoleCommands(Container $container): array |
||
| 217 | { |
||
| 218 | $commands = [ |
||
| 219 | new OpentelemetryGeneratorConsole(), |
||
| 220 | new CacheWarmerConsole(), |
||
| 221 | new TwigTemplateWarmerConsole(), |
||
| 222 | new BuildNavigationConsole(), |
||
| 223 | new RemoveNavigationCacheConsole(), |
||
| 224 | new BuildRestApiValidationCacheConsole(), |
||
| 225 | new RemoveRestApiValidationCacheConsole(), |
||
| 226 | new EmptyAllCachesConsole(), |
||
| 227 | new TransferGeneratorConsole(), |
||
| 228 | new RemoveTransferConsole(), |
||
| 229 | new EntityTransferGeneratorConsole(), |
||
| 230 | new RemoveEntityTransferConsole(), |
||
| 231 | new InitializeDatabaseConsole(), |
||
| 232 | new SearchConsole(), |
||
| 233 | new GenerateSourceMapConsole(), |
||
| 234 | new RemoveSourceMapConsole(), |
||
| 235 | new SearchSetupSourcesConsole(), |
||
| 236 | new OmsCheckConditionConsole(), |
||
| 237 | new OmsCheckTimeoutConsole(), |
||
| 238 | new OmsClearLocksConsole(), |
||
| 239 | new OmsProcessCacheWarmUpConsole(), |
||
| 240 | new StateMachineCheckTimeoutConsole(), |
||
| 241 | new StateMachineCheckConditionConsole(), |
||
| 242 | new StateMachineClearLocksConsole(), |
||
| 243 | new ImportOrderItemsStatusConsole(), |
||
| 244 | new SessionRemoveLockConsole(), |
||
| 245 | new QueueTaskConsole(), |
||
| 246 | new QueueWorkerConsole(), |
||
| 247 | new ProductRelationUpdaterConsole(), |
||
| 248 | new ProductLabelValidityConsole(), |
||
| 249 | new ProductLabelRelationUpdaterConsole(), |
||
| 250 | new ProductValidityConsole(), |
||
| 251 | new OauthTokenConsole(), |
||
| 252 | new DataImportConsole(), |
||
| 253 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_STORE), |
||
| 254 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_CURRENCY), |
||
| 255 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . CategoryDataImportConfig::IMPORT_TYPE_CATEGORY), |
||
| 256 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . CategoryDataImportConfig::IMPORT_TYPE_CATEGORY_STORE), |
||
| 257 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_CATEGORY_TEMPLATE), |
||
| 258 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_CUSTOMER), |
||
| 259 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_GLOSSARY), |
||
| 260 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_NAVIGATION), |
||
| 261 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_NAVIGATION_NODE), |
||
| 262 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_CMS_TEMPLATE), |
||
| 263 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_CMS_BLOCK), |
||
| 264 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_CMS_BLOCK_STORE), |
||
| 265 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_DISCOUNT), |
||
| 266 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_DISCOUNT_STORE), |
||
| 267 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_DISCOUNT_VOUCHER), |
||
| 268 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_ABSTRACT), |
||
| 269 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_ABSTRACT_STORE), |
||
| 270 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_CONCRETE), |
||
| 271 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_IMAGE), |
||
| 272 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_STOCK), |
||
| 273 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_ATTRIBUTE_KEY), |
||
| 274 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_MANAGEMENT_ATTRIBUTE), |
||
| 275 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_GROUP), |
||
| 276 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_OPTION), |
||
| 277 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_OPTION_PRICE), |
||
| 278 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_REVIEW), |
||
| 279 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ProductLabelDataImportConfig::IMPORT_TYPE_PRODUCT_LABEL), |
||
| 280 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ProductLabelDataImportConfig::IMPORT_TYPE_PRODUCT_LABEL_STORE), |
||
| 281 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_SET), |
||
| 282 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_SEARCH_ATTRIBUTE_MAP), |
||
| 283 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_PRODUCT_SEARCH_ATTRIBUTE), |
||
| 284 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_SHIPMENT), |
||
| 285 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_SHIPMENT_PRICE), |
||
| 286 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_TAX), |
||
| 287 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . DataImportConfig::IMPORT_TYPE_DISCOUNT_AMOUNT), |
||
| 288 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ShipmentDataImportConfig::IMPORT_TYPE_SHIPMENT), |
||
| 289 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ShipmentDataImportConfig::IMPORT_TYPE_SHIPMENT_PRICE), |
||
| 290 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ShipmentDataImportConfig::IMPORT_TYPE_SHIPMENT_METHOD_STORE), |
||
| 291 | |||
| 292 | //core data importers |
||
| 293 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . PriceProductDataImportConfig::IMPORT_TYPE_PRODUCT_PRICE), |
||
| 294 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . CompanyDataImportConfig::IMPORT_TYPE_COMPANY), |
||
| 295 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . CompanyBusinessUnitDataImportConfig::IMPORT_TYPE_COMPANY_BUSINESS_UNIT), |
||
| 296 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . CompanyUnitAddressDataImportConfig::IMPORT_TYPE_COMPANY_UNIT_ADDRESS), |
||
| 297 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . CompanyUnitAddressLabelDataImportConfig::IMPORT_TYPE_COMPANY_UNIT_ADDRESS_LABEL), |
||
| 298 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . CompanyUnitAddressLabelDataImportConfig::IMPORT_TYPE_COMPANY_UNIT_ADDRESS_LABEL_RELATION), |
||
| 299 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ProductAlternativeDataImportConfig::IMPORT_TYPE_PRODUCT_ALTERNATIVE), #ProductAlternativeFeature |
||
| 300 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . BusinessOnBehalfDataImportConfig::IMPORT_TYPE_COMPANY_USER), |
||
| 301 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ProductDiscontinuedDataImportConfig::IMPORT_TYPE_PRODUCT_DISCONTINUED), #ProductDiscontinuedFeature |
||
| 302 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . MultiCartDataImportConfig::IMPORT_TYPE_MULTI_CART), |
||
| 303 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . SharedCartDataImportConfig::IMPORT_TYPE_SHARED_CART), |
||
| 304 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ProductPackagingUnitDataImportConfig::IMPORT_TYPE_PRODUCT_PACKAGING_UNIT), |
||
| 305 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . PriceProductScheduleDataImportConfig::IMPORT_TYPE_PRODUCT_PRICE_SCHEDULE), |
||
| 306 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ProductRelationDataImportConfig::IMPORT_TYPE_PRODUCT_RELATION), |
||
| 307 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ProductRelationDataImportConfig::IMPORT_TYPE_PRODUCT_RELATION_STORE), |
||
| 308 | |||
| 309 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ShoppingListDataImportConfig::IMPORT_TYPE_SHOPPING_LIST), |
||
| 310 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ShoppingListDataImportConfig::IMPORT_TYPE_SHOPPING_LIST_ITEM), |
||
| 311 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ShoppingListDataImportConfig::IMPORT_TYPE_SHOPPING_LIST_COMPANY_USER), |
||
| 312 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ShoppingListDataImportConfig::IMPORT_TYPE_SHOPPING_LIST_COMPANY_BUSINESS_UNIT), |
||
| 313 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ProductQuantityDataImportConfig::IMPORT_TYPE_PRODUCT_QUANTITY), |
||
| 314 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . StockDataImportConfig::IMPORT_TYPE_STOCK), |
||
| 315 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . StockDataImportConfig::IMPORT_TYPE_STOCK_STORE), |
||
| 316 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . PaymentDataImportConfig::IMPORT_TYPE_PAYMENT_METHOD), |
||
| 317 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . PaymentDataImportConfig::IMPORT_TYPE_PAYMENT_METHOD_STORE), |
||
| 318 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ContentNavigationDataImportConfig::IMPORT_TYPE_CONTENT_NAVIGATION), |
||
| 319 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . MerchantProductApprovalDataImportConfig::IMPORT_TYPE_MERCHANT_PRODUCT_APPROVAL_STATUS_DEFAULT), |
||
| 320 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ProductApprovalDataImportConfig::IMPORT_TYPE_PRODUCT_APPROVAL_STATUS), |
||
| 321 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . CountryDataImportConfig::IMPORT_TYPE_COUNTRY_STORE), |
||
| 322 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . CurrencyDataImportConfig::IMPORT_TYPE_CURRENCY_STORE), |
||
| 323 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . LocaleDataImportConfig::IMPORT_TYPE_LOCALE_STORE), |
||
| 324 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . LocaleDataImportConfig::IMPORT_TYPE_DEFAULT_LOCALE_STORE), |
||
| 325 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . StoreContextDataImportConfig::IMPORT_TYPE_STORE_CONTEXT), |
||
| 326 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . StoreDataImportConfig::IMPORT_TYPE_STORE), |
||
| 327 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ProductOfferShoppingListDataImportConfig::IMPORT_TYPE_PRODUCT_OFFER_SHOPPING_LIST_ITEM), |
||
| 328 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . MerchantCommissionDataImportConfig::IMPORT_TYPE_MERCHANT_COMMISSION_GROUP), |
||
| 329 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . MerchantCommissionDataImportConfig::IMPORT_TYPE_MERCHANT_COMMISSION), |
||
| 330 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . MerchantCommissionDataImportConfig::IMPORT_TYPE_MERCHANT_COMMISSION_AMOUNT), |
||
| 331 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . MerchantCommissionDataImportConfig::IMPORT_TYPE_MERCHANT_COMMISSION_STORE), |
||
| 332 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . MerchantCommissionDataImportConfig::IMPORT_TYPE_MERCHANT_COMMISSION_MERCHANT), |
||
| 333 | |||
| 334 | // Publish and Synchronization |
||
| 335 | new EventBehaviorTriggerTimeoutConsole(), |
||
| 336 | new PublisherTriggerEventsConsole(), |
||
| 337 | new ExportSynchronizedDataConsole(), |
||
| 338 | |||
| 339 | // Setup commands |
||
| 340 | new RunnerConsole(), |
||
|
|
|||
| 341 | new DeployPreparePropelConsole(), |
||
| 342 | |||
| 343 | new DatabaseDropConsole(), |
||
| 344 | new DatabaseDropTablesConsole(), |
||
| 345 | |||
| 346 | new DeleteMigrationFilesConsole(), |
||
| 347 | |||
| 348 | new DeleteLogFilesConsole(), |
||
| 349 | new StorageRedisExportRdbConsole(), |
||
| 350 | new StorageRedisImportRdbConsole(), |
||
| 351 | new StorageDeleteAllConsole(), |
||
| 352 | new ElasticsearchCloseIndexConsole(), |
||
| 353 | new ElasticsearchCopyIndexConsole(), |
||
| 354 | new ElasticsearchDeleteIndexConsole(), |
||
| 355 | new ElasticsearchOpenIndexConsole(), |
||
| 356 | new ElasticsearchSnapshotRegisterRepositoryConsole(), |
||
| 357 | new ElasticsearchSnapshotDeleteConsole(), |
||
| 358 | new ElasticsearchSnapshotCreateConsole(), |
||
| 359 | new ElasticsearchSnapshotRestoreConsole(), |
||
| 360 | |||
| 361 | new InstallPackageManagerConsole(), |
||
| 362 | new CleanUpDependenciesConsole(), |
||
| 363 | new InstallProjectDependenciesConsole(), |
||
| 364 | |||
| 365 | new YvesInstallDependenciesConsole(), |
||
| 366 | new YvesBuildFrontendConsole(), |
||
| 367 | |||
| 368 | new ZedInstallDependenciesConsole(), |
||
| 369 | new ZedBuildFrontendConsole(), |
||
| 370 | |||
| 371 | new DeleteAllQueuesConsole(), |
||
| 372 | new PurgeAllQueuesConsole(), |
||
| 373 | new DeleteAllExchangesConsole(), |
||
| 374 | new QueueSetupConsole(), |
||
| 375 | new SetUserPermissionsConsole(), |
||
| 376 | |||
| 377 | new MaintenanceEnableConsole(), |
||
| 378 | new MaintenanceDisableConsole(), |
||
| 379 | |||
| 380 | new DeactivateDiscontinuedProductsConsole(), #ProductDiscontinuedFeature |
||
| 381 | |||
| 382 | new PriceProductStoreOptimizeConsole(), |
||
| 383 | new PriceProductMerchantRelationshipDeleteConsole(), |
||
| 384 | |||
| 385 | new DeleteExpiredGuestQuoteConsole(), |
||
| 386 | new DeleteExpiredCustomerInvalidatedRecordsConsole(), |
||
| 387 | |||
| 388 | new CleanTranslationCacheConsole(), |
||
| 389 | new GenerateTranslationCacheConsole(), |
||
| 390 | |||
| 391 | new CloseOutdatedQuoteRequestConsole(), |
||
| 392 | |||
| 393 | new PriceProductScheduleApplyConsole(), |
||
| 394 | new PriceProductScheduleCleanupConsole(), |
||
| 395 | new UuidGeneratorConsole(), |
||
| 396 | new BuildRestApiValidationCacheConsole(), |
||
| 397 | new RemoveRestApiValidationCacheConsole(), |
||
| 398 | |||
| 399 | new SchedulerSetupConsole(), |
||
| 400 | new SchedulerCleanConsole(), |
||
| 401 | new SchedulerSuspendConsole(), |
||
| 402 | new SchedulerResumeConsole(), |
||
| 403 | |||
| 404 | new BackofficeRouterCacheWarmUpConsole(), |
||
| 405 | new BackendGatewayRouterCacheWarmUpConsole(), |
||
| 406 | new MerchantPortalRouterCacheWarmUpConsole(), |
||
| 407 | new RouterCacheWarmUpConsole(), |
||
| 408 | new ResolvableClassCacheConsole(), |
||
| 409 | |||
| 410 | new DataExportConsole(), |
||
| 411 | new RecordDeploymentConsole(), |
||
| 412 | |||
| 413 | new OrderInvoiceSendConsole(), |
||
| 414 | |||
| 415 | new ProductOfferValidityConsole(), |
||
| 416 | |||
| 417 | new MerchantPortalInstallDependenciesConsole(), |
||
| 418 | new MerchantPortalBuildFrontendConsole(), |
||
| 419 | |||
| 420 | new MessageBrokerWorkerConsole(), |
||
| 421 | new ScopeCacheCollectorConsole(), |
||
| 422 | new DateTimeProductConfiguratorBuildFrontendConsole(), |
||
| 423 | new OrderMatrixConsole(), |
||
| 424 | new AclEntitySynchronizeConsole(), |
||
| 425 | new StorageRedisDataReSaveConsole(), |
||
| 426 | new SitemapGenerateConsole(), |
||
| 427 | new DataImportMerchantImportConsole(), |
||
| 428 | ]; |
||
| 429 | |||
| 430 | $propelCommands = $container->getLocator()->propel()->facade()->getConsoleCommands(); |
||
| 431 | $commands = array_merge($commands, $propelCommands); |
||
| 432 | |||
| 433 | if ($this->getConfig()->isDevelopmentConsoleCommandsEnabled()) { |
||
| 434 | $commands[] = new EventListenerDumpConsole(); |
||
| 435 | $commands[] = new CodeTestConsole(); |
||
| 436 | $commands[] = new CodeStyleSnifferConsole(); |
||
| 437 | $commands[] = new CodeArchitectureSnifferConsole(); |
||
| 438 | $commands[] = new AcceptanceCodeTestConsole(); |
||
| 439 | $commands[] = new FunctionalCodeTestConsole(); |
||
| 440 | $commands[] = new ApiCodeTestConsole(); |
||
| 441 | $commands[] = new CodeFixturesConsole(); |
||
| 442 | $commands[] = new CodePhpstanConsole(); |
||
| 443 | $commands[] = new ValidatorConsole(); |
||
| 444 | $commands[] = new GenerateZedIdeAutoCompletionConsole(); |
||
| 445 | $commands[] = new RemoveZedIdeAutoCompletionConsole(); |
||
| 446 | $commands[] = new GenerateClientIdeAutoCompletionConsole(); |
||
| 447 | $commands[] = new RemoveClientIdeAutoCompletionConsole(); |
||
| 448 | $commands[] = new GenerateServiceIdeAutoCompletionConsole(); |
||
| 449 | $commands[] = new RemoveServiceIdeAutoCompletionConsole(); |
||
| 450 | $commands[] = new GenerateYvesIdeAutoCompletionConsole(); |
||
| 451 | $commands[] = new RemoveYvesIdeAutoCompletionConsole(); |
||
| 452 | $commands[] = new GenerateIdeAutoCompletionConsole(); |
||
| 453 | $commands[] = new RemoveIdeAutoCompletionConsole(); |
||
| 454 | $commands[] = new DataBuilderGeneratorConsole(); |
||
| 455 | $commands[] = new RemoveDataBuilderConsole(); |
||
| 456 | $commands[] = new DataBuilderGeneratorConsole(); |
||
| 457 | $commands[] = new PropelSchemaValidatorConsole(); |
||
| 458 | $commands[] = new PropelSchemaXmlNameValidatorConsole(); |
||
| 459 | $commands[] = new DataImportDumpConsole(); |
||
| 460 | $commands[] = new GenerateGlueIdeAutoCompletionConsole(); |
||
| 461 | $commands[] = new GenerateGlueBackendIdeAutoCompletionConsole(); |
||
| 462 | $commands[] = new RemoveGlueIdeAutoCompletionConsole(); |
||
| 463 | $commands[] = new RemoveGlueBackendIdeAutoCompletionConsole(); |
||
| 464 | $commands[] = new PluginUsageFinderConsole(); |
||
| 465 | $commands[] = new PostgresIndexGeneratorConsole(); |
||
| 466 | $commands[] = new PostgresIndexRemoverConsole(); |
||
| 467 | $commands[] = new QueueDumpConsole(); |
||
| 468 | $commands[] = new EventTriggerListenerConsole(); |
||
| 469 | $commands[] = new GenerateRestApiDocumentationConsole(); |
||
| 470 | $commands[] = new CustomerPasswordResetConsole(); |
||
| 471 | $commands[] = new CustomerPasswordSetConsole(); |
||
| 472 | $commands[] = new TriggerEventFromCsvFileConsole(); |
||
| 473 | $commands[] = new MultiProcessRunConsole(); |
||
| 474 | |||
| 475 | if (class_exists(SecurityCheckerCommand::class)) { |
||
| 476 | $commands[] = new SecurityCheckerCommand(); |
||
| 477 | } |
||
| 478 | |||
| 479 | $commands[] = new MessageBrokerDebugConsole(); |
||
| 480 | $commands[] = new MessageBrokerAwsSqsQueuesCreatorConsole(); |
||
| 481 | $commands[] = new MessageBrokerAwsSnsTopicsCreatorConsole(); |
||
| 482 | $commands[] = new MessageBrokerSqsToSnsSubscriberConsole(); |
||
| 483 | } |
||
| 484 | |||
| 485 | return $commands; |
||
| 486 | } |
||
| 531 |