Nwidart\Modules\Process\Installer::installViaGit PHP 메소드

installViaGit() 공개 메소드

Install the module via git.
public installViaGit ( ) : Process
리턴 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()));
    }