Add SetupLegacyMigration command

This commit is contained in:
Clemente Raposo 2021-10-26 13:10:22 +01:00
parent 340cfd2c28
commit 38a030e029
11 changed files with 633 additions and 0 deletions

View file

@ -79,6 +79,8 @@ services:
shared: false
App\Install\Service\Upgrade\UpgradeStepInterface:
tags: [ 'app.upgrade.step' ]
App\Install\Service\LegacyMigration\LegacyMigrationStepInterface:
tags: [ 'app.legacy.migration.step' ]
App\Install\Service\Installation\InstallStepInterface:
tags: [ 'app.install.step' ]
App\ViewDefinitions\Service\MassUpdateDefinitionMapperInterface:
@ -215,6 +217,12 @@ services:
- !tagged { tag: 'app.upgrade.step' }
- '@monolog.logger.upgrade'
App\Install\Service\LegacyMigration\LegacyMigrationHandler:
# inject all services tagged with app.legacy.migration.step as first argument
arguments:
- !tagged { tag: 'app.legacy.migration.step' }
- '@monolog.logger.upgrade'
App\Install\Service\Installation\InstallStepHandler:
# inject all services tagged with app.install.step as first argument
arguments: