public function changeWorkspace($workspaceName)
    {
        $this->init();
        $this->session->logout();
        $this->profile->set('phpcr', 'workspace', $workspaceName);
        $this->initSession($this->profile);
    }
public function changeWorkspace($workspaceName)
    {
        $this->init();
        $this->session->logout();
        $this->profile->set('phpcr', 'workspace', $workspaceName);
        $this->initSession($this->profile);
    }
public function changeWorkspace ( $ workspaceName ) { $ this -> init ( ) ; $ this -> session -> logout ( ) ; $ this -> profile -> set ( 'phpcr' , 'workspace' , $ workspaceName ) ; $ this -> initSession ( $ this -> profile ) ; }
Change the current workspace.

@param string $workspaceName
Change the current workspace .