PHP 클래스 Neos\ContentRepository\Migration\Command\NodeCommandController

상속: extends Neos\Flow\Cli\CommandController
파일 보기 프로젝트 열기: neos/neos-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$contextFactory Neos\ContentRepository\Domain\Service\ContextFactoryInterface
$migrationFactory Neos\ContentRepository\Migration\Domain\Factory\MigrationFactory
$migrationStatusRepository Neos\ContentRepository\Migration\Domain\Repository\MigrationStatusRepository
$nodeDataRepository Neos\ContentRepository\Domain\Repository\NodeDataRepository
$yamlSourceImporter Neos\Flow\Configuration\Source\YamlSource

공개 메소드들

메소드 설명
migrateCommand ( string $version, boolean $confirmation = false, string $direction = MigrationStatus::DIRECTION_UP ) : void Do the configured migrations in the given migration.
migrationStatusCommand ( ) : void List available and applied migrations

보호된 메소드들

메소드 설명
outputCommentsAndWarnings ( MigrationConfiguration $migrationConfiguration ) : void Helper to output comments and warnings for the given configuration.
phraseMigrationApplicationInformation ( array $migrationsInVersion ) : string

메소드 상세

migrateCommand() 공개 메소드

By default the up direction is applied, using the direction parameter this can be changed.
public migrateCommand ( string $version, boolean $confirmation = false, string $direction = MigrationStatus::DIRECTION_UP ) : void
$version string The version of the migration configuration you want to use.
$confirmation boolean Confirm application of this migration, only needed if the given migration contains any warnings.
$direction string The direction to work in, MigrationStatus::DIRECTION_UP or MigrationStatus::DIRECTION_DOWN
리턴 void

migrationStatusCommand() 공개 메소드

List available and applied migrations
public migrationStatusCommand ( ) : void
리턴 void

outputCommentsAndWarnings() 보호된 메소드

Helper to output comments and warnings for the given configuration.
protected outputCommentsAndWarnings ( MigrationConfiguration $migrationConfiguration ) : void
$migrationConfiguration Neos\ContentRepository\Migration\Domain\Model\MigrationConfiguration
리턴 void

phraseMigrationApplicationInformation() 보호된 메소드

protected phraseMigrationApplicationInformation ( array $migrationsInVersion ) : string
$migrationsInVersion array
리턴 string

프로퍼티 상세

$contextFactory 보호되어 있는 프로퍼티

protected ContextFactoryInterface,Neos\ContentRepository\Domain\Service $contextFactory
리턴 Neos\ContentRepository\Domain\Service\ContextFactoryInterface

$migrationFactory 보호되어 있는 프로퍼티

protected MigrationFactory,Neos\ContentRepository\Migration\Domain\Factory $migrationFactory
리턴 Neos\ContentRepository\Migration\Domain\Factory\MigrationFactory

$migrationStatusRepository 보호되어 있는 프로퍼티

protected MigrationStatusRepository,Neos\ContentRepository\Migration\Domain\Repository $migrationStatusRepository
리턴 Neos\ContentRepository\Migration\Domain\Repository\MigrationStatusRepository

$nodeDataRepository 보호되어 있는 프로퍼티

protected NodeDataRepository,Neos\ContentRepository\Domain\Repository $nodeDataRepository
리턴 Neos\ContentRepository\Domain\Repository\NodeDataRepository

$yamlSourceImporter 보호되어 있는 프로퍼티

protected YamlSource,Neos\Flow\Configuration\Source $yamlSourceImporter
리턴 Neos\Flow\Configuration\Source\YamlSource