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