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

getRepoUrl() public method

Get git repo url.
public getRepoUrl ( ) : string | null
return string | null
    public function getRepoUrl()
    {
        switch ($this->type) {
            case 'github':
                return "[email protected]:{$this->name}.git";
                break;
            case 'github-https':
                return "https://github.com/{$this->name}.git";
                break;
            case 'bitbucket':
                return "[email protected]:{$this->name}.git";
                break;
            default:
                return;
                break;
        }
    }