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;
    }