SiteCommandController
class SiteCommandController extends CommandController (View source)
Methods
__construct(Connection $connection, PropertyMapper $propertyMapper, ContentRepositoryRegistry $contentRepositoryRegistry)
No description
void
exportLegacyDataCommand(string $path, string $contentRepository = 'default', string|null $config = null, bool $verbose = false)
Migrate from the Legacy CR
createOnProcessorClosure()
No description
createOnMessageClosure(bool $verbose)
No description
Details
__construct(Connection $connection, PropertyMapper $propertyMapper, ContentRepositoryRegistry $contentRepositoryRegistry)
No description
void
exportLegacyDataCommand(string $path, string $contentRepository = 'default', string|null $config = null, bool $verbose = false)
Migrate from the Legacy CR
This command creates a Neos 9 export format based on the data from the specified legacy content repository database connection The export will be placed in the specified directory path, and can be imported via "site:importAll":
./flow site:exportLegacyData --path ./migratedContent
./flow site:importAll --path ./migratedContent
Note that the dimension configuration and the node type schema must be migrated of the reference content repository
protected Closure
createOnProcessorClosure()
No description
protected Closure
createOnMessageClosure(bool $verbose)
No description