Nwidart\Modules\Process\Installer::getProcess PHP Method

getProcess() public method

Get process instance.
public getProcess ( ) : Process
return Symfony\Component\Process\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;
    }