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

installViaGit() public method

Install the module via git.
public installViaGit ( ) : Process
return Symfony\Component\Process\Process
    public function installViaGit()
    {
        return new Process(sprintf('cd %s && git clone %s %s && cd %s && git checkout %s', base_path(), $this->getRepoUrl(), $this->getDestinationPath(), $this->getDestinationPath(), $this->getBranch()));
    }