Property | Type | Description | |
---|---|---|---|
$publishingService | |||
$userService | |||
$workspaceRepository |
Method | Description | |
---|---|---|
createCommand ( string $workspace, string $baseWorkspace = 'live', string $title = null, string $description = null, string $owner = '' ) : void | Create a new workspace | |
deleteCommand ( string $workspace, boolean $force = false ) : void | Deletes a workspace | |
discardAllCommand ( string $workspaceName, boolean $verbose = false ) : void | Discard changes in workspace | |
discardCommand ( string $workspace, boolean $verbose = false, boolean $dryRun = false ) : void | Discard changes in workspace | |
listCommand ( ) : void | Display a list of existing workspaces | |
publishAllCommand ( string $workspaceName, boolean $verbose = false ) : void | Publish changes of a workspace | |
publishCommand ( string $workspace, string $targetWorkspace = null, boolean $verbose = false, boolean $dryRun = false ) : void | Publish changes of a workspace | |
rebaseCommand ( string $workspace, string $baseWorkspace ) : void | Rebase a workspace |
public createCommand ( string $workspace, string $baseWorkspace = 'live', string $title = null, string $description = null, string $owner = '' ) : void | ||
$workspace | string | Name of the workspace, for example "christmas-campaign" |
$baseWorkspace | string | Name of the base workspace. If none is specified, "live" is assumed. |
$title | string | Human friendly title of the workspace, for example "Christmas Campaign" |
$description | string | A description explaining the purpose of the new workspace |
$owner | string | The identifier of a User to own the workspace |
return | void |
public discardCommand ( string $workspace, boolean $verbose = false, boolean $dryRun = false ) : void | ||
$workspace | string | Name of the workspace, for example "user-john" |
$verbose | boolean | If enabled, information about individual nodes will be displayed |
$dryRun | boolean | If set, only displays which nodes would be discarded, no real changes are committed |
return | void |
public listCommand ( ) : void | ||
return | void |
public publishCommand ( string $workspace, string $targetWorkspace = null, boolean $verbose = false, boolean $dryRun = false ) : void | ||
$workspace | string | Name of the workspace containing the changes to publish, for example "user-john" |
$targetWorkspace | string | If specified, the content will be published to this workspace instead of the base workspace |
$verbose | boolean | If enabled, some information about individual nodes will be displayed |
$dryRun | boolean | If set, only displays which nodes would be published, no real changes are committed |
return | void |
protected PublishingService,Neos\Neos\Service $publishingService | ||
return |
protected UserService,Neos\Neos\Domain\Service $userService | ||
return |