NodeCommandController
class NodeCommandController extends CommandController (View source)
Command controller for tasks related to node handling.
Properties
protected YamlSource | $yamlSourceImporter | ||
protected NodeDataRepository | $nodeDataRepository | ||
protected MigrationStatusRepository | $migrationStatusRepository | ||
protected MigrationFactory | $migrationFactory | ||
protected ContextFactoryInterface | $contextFactory |
Methods
void
migrateCommand(string $version, bool $confirmation = false, string $direction = MigrationStatus::DIRECTION_UP)
Do the configured migrations in the given migration.
void
migrationStatusCommand()
List available and applied migrations
void
outputCommentsAndWarnings(MigrationConfiguration $migrationConfiguration)
Helper to output comments and warnings for the given configuration.
string
phraseMigrationApplicationInformation(array $migrationsInVersion)
No description
Details
void
migrateCommand(string $version, bool $confirmation = false, string $direction = MigrationStatus::DIRECTION_UP)
Do the configured migrations in the given migration.
By default the up direction is applied, using the direction parameter this can be changed.
void
migrationStatusCommand()
List available and applied migrations
protected void
outputCommentsAndWarnings(MigrationConfiguration $migrationConfiguration)
Helper to output comments and warnings for the given configuration.
protected string
phraseMigrationApplicationInformation(array $migrationsInVersion)
No description