class NodeMigrationCommandController extends CommandController (View source)

Command controller for tasks related to node migration.

Properties

protected FilterFactoryInterface>> $filterFactoriesConfiguration
protected TransformationFactoryInterface|PropertyConverterAwareTransformationFactoryInterface>> $transformationFactoriesConfiguration

Methods

__construct(MigrationFactory $migrationFactory, ContentRepositoryRegistry $contentRepositoryRegistry, PackageManager $packageManager, NodeMigrationGeneratorService $nodeMigrationGeneratorService)

No description

void
executeCommand(string $version, string $sourceWorkspace = 'live', bool $publishOnSuccess = true, bool $force = false, string $contentRepository = 'default')

Do the configured migrations in the given migration.

void
kickstartCommand(string $packageKey)

Creates a node migration for the given package Key.

void
listCommand()

List available migrations

void
outputCommentsAndWarnings(MigrationConfiguration $migrationConfiguration)

Helper to output comments and warnings for the given configuration.

Details

__construct(MigrationFactory $migrationFactory, ContentRepositoryRegistry $contentRepositoryRegistry, PackageManager $packageManager, NodeMigrationGeneratorService $nodeMigrationGeneratorService)

No description

Parameters

MigrationFactory $migrationFactory
ContentRepositoryRegistry $contentRepositoryRegistry
PackageManager $packageManager
NodeMigrationGeneratorService $nodeMigrationGeneratorService

void executeCommand(string $version, string $sourceWorkspace = 'live', bool $publishOnSuccess = true, bool $force = false, string $contentRepository = 'default')

Do the configured migrations in the given migration.

Parameters

string $version
string $sourceWorkspace
bool $publishOnSuccess
bool $force
string $contentRepository

Return Value

void

void kickstartCommand(string $packageKey)

Creates a node migration for the given package Key.

Parameters

string $packageKey

Return Value

void

void listCommand()

List available migrations

Return Value

void

protected void outputCommentsAndWarnings(MigrationConfiguration $migrationConfiguration)

Helper to output comments and warnings for the given configuration.

Parameters

MigrationConfiguration $migrationConfiguration

Return Value

void