Neos\Neos\Command\WorkspaceCommandController::discardAllCommand PHP Method

discardAllCommand() public method

This command discards all modified, created or deleted nodes in the specified workspace.
Deprecation: since 1.2
public discardAllCommand ( string $workspaceName, boolean $verbose = false ) : void
$workspaceName string Name of the workspace, for example "user-john"
$verbose boolean If enabled, information about individual nodes will be displayed
return void
    public function discardAllCommand($workspaceName, $verbose = false)
    {
        $this->discardCommand($workspaceName, $verbose);
    }