Neos.ContentRepository/Classes/Domain/Model/Workspace.php
public function setBaseWorkspace(Workspace $baseWorkspace)
    {
        $oldBaseWorkspace = $this->baseWorkspace;
        if ($oldBaseWorkspace !== $baseWorkspace) {
            $this->baseWorkspace = $baseWorkspace;
            $this->emitBaseWorkspaceChanged($this, $oldBaseWorkspace, $baseWorkspace);
        }
    }
public function setBaseWorkspace(Workspace $baseWorkspace)
    {
        $oldBaseWorkspace = $this->baseWorkspace;
        if ($oldBaseWorkspace !== $baseWorkspace) {
            $this->baseWorkspace = $baseWorkspace;
            $this->emitBaseWorkspaceChanged($this, $oldBaseWorkspace, $baseWorkspace);
        }
    }
public function setBaseWorkspace ( Workspace $ baseWorkspace ) { $ oldBaseWorkspace = $ this -> baseWorkspace ; if ( $ oldBaseWorkspace !== $ baseWorkspace ) { $ this -> baseWorkspace = $ baseWorkspace ; $ this -> emitBaseWorkspaceChanged ( $ this , $ oldBaseWorkspace , $ baseWorkspace ) ; } }
Sets the base workspace

Note that this method is not part of the public API because further action is necessary for rebasing a workspace

@param Workspace $baseWorkspace
@return void
Sets the base workspace