public function getProcess()
    {
        switch ($this->type) {
            case 'github':
            case 'github-https':
            case 'bitbucket':
                if ($this->tree) {
                    $process = $this->installViaSubtree();
                }

                $process = $this->installViaGit();
                break;

            default:
                $process = $this->installViaComposer();
                break;
        }

        return $process;
    }
public function getProcess()
    {
        switch ($this->type) {
            case 'github':
            case 'github-https':
            case 'bitbucket':
                if ($this->tree) {
                    $process = $this->installViaSubtree();
                }

                $process = $this->installViaGit();
                break;

            default:
                $process = $this->installViaComposer();
                break;
        }

        return $process;
    }
public function getProcess ( ) { switch ( $ this -> type ) { case 'github' : case 'github-https' : case 'bitbucket' : if ( $ this -> tree ) { $ process = $ this -> installViaSubtree ( ) ; } $ process = $ this -> installViaGit ( ) ; break ; default : $ process = $ this -> installViaComposer ( ) ; break ; } return $ process ; }
Get process instance.

@return \Symfony\Component\Process\Process
Get process instance .