Neos\Neos\Command\WorkspaceCommandController::discardAllCommand PHP Méthode

discardAllCommand() public méthode

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
Résultat void
    public function discardAllCommand($workspaceName, $verbose = false)
    {
        $this->discardCommand($workspaceName, $verbose);
    }