Property | Type | Description | |
---|---|---|---|
$nodeContextFactory | Neos\ContentRepository\Domain\Service\ContextFactoryInterface | ||
$nodeService | Neos\ContentRepository\Domain\Service\NodeService | ||
$nodeTypeManager | |||
$packageManager | Neos\Flow\Package\PackageManagerInterface | ||
$persistenceManager | Neos\Flow\Persistence\PersistenceManagerInterface | ||
$siteExportService | |||
$siteImportService | |||
$siteRepository | |||
$siteService | |||
$systemLogger | Neos\Flow\Log\SystemLoggerInterface |
Method | Description | |
---|---|---|
activateCommand ( string $siteNode ) : void | Activate a site | |
createCommand ( string $name, string $packageKey, string $nodeType = 'Neos.Neos.NodeTypes:Page', string $nodeName = null, boolean $inactive = false ) : void | Create a new site | |
deactivateCommand ( string $siteNode ) : void | Deactivate a site | |
exportCommand ( string $siteNode = null, boolean $tidy = true, string $filename = null, string $packageKey = null, string $nodeTypeFilter = null ) : void | Export sites content (e.g. site:export --package-key "Neos.Demo") | |
importCommand ( string $packageKey = null, string $filename = null ) : void | Import sites content | |
listCommand ( ) : void | List available sites | |
pruneCommand ( string $siteNode = null, string $siteNodeName = null ) : void | Remove all content and related data - for now. In the future we need some more sophisticated cleanup. |
public activateCommand ( string $siteNode ) : void | ||
$siteNode | string | The node name of the site to activate |
return | void |
public createCommand ( string $name, string $packageKey, string $nodeType = 'Neos.Neos.NodeTypes:Page', string $nodeName = null, boolean $inactive = false ) : void | ||
$name | string | The name of the site |
$packageKey | string | The site package |
$nodeType | string | The node type to use for the site node. (Default = Neos.Neos.NodeTypes:Page) |
$nodeName | string | The name of the site node. If no nodeName is given it will be determined from the siteName. |
$inactive | boolean | The new site is not activated immediately (default = false). |
return | void |
public deactivateCommand ( string $siteNode ) : void | ||
$siteNode | string | The node name of the site to deactivate |
return | void |
public exportCommand ( string $siteNode = null, boolean $tidy = true, string $filename = null, string $packageKey = null, string $nodeTypeFilter = null ) : void | ||
$siteNode | string | the node name of the site to be exported; if none given will export all sites |
$tidy | boolean | Whether to export formatted XML. This is defaults to true |
$filename | string | relative path and filename to the XML file to create. Any resource will be stored in a sub folder "Resources". |
$packageKey | string | Package to store the XML file in. Any resource will be stored in a sub folder "Resources". |
$nodeTypeFilter | string | Filter the node type of the nodes, allows complex expressions (e.g. "Neos.Neos:Page", "!Neos.Neos:Page,Neos.Neos:Text") |
return | void |
protected ContextFactoryInterface,Neos\ContentRepository\Domain\Service $nodeContextFactory | ||
return | Neos\ContentRepository\Domain\Service\ContextFactoryInterface |
protected NodeService,Neos\ContentRepository\Domain\Service $nodeService | ||
return | Neos\ContentRepository\Domain\Service\NodeService |
protected NodeTypeManager,Neos\ContentRepository\Domain\Service $nodeTypeManager | ||
return |
protected PackageManagerInterface,Neos\Flow\Package $packageManager | ||
return | Neos\Flow\Package\PackageManagerInterface |
protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager | ||
return | Neos\Flow\Persistence\PersistenceManagerInterface |
protected SiteExportService,Neos\Neos\Domain\Service $siteExportService | ||
return |
protected SiteImportService,Neos\Neos\Domain\Service $siteImportService | ||
return |
protected SiteRepository,Neos\Neos\Domain\Repository $siteRepository | ||
return |
protected SiteService,Neos\Neos\Domain\Service $siteService | ||
return |