function GitHubDriver::getUrl
@inheritDoc
Overrides VcsDriverInterface::getUrl
1 call to GitHubDriver::getUrl()
- GitHubDriver::getSource in vendor/
composer/ composer/ src/ Composer/ Repository/ Vcs/ GitHubDriver.php - @inheritDoc
File
-
vendor/
composer/ composer/ src/ Composer/ Repository/ Vcs/ GitHubDriver.php, line 104
Class
- GitHubDriver
- @author Jordi Boggiano <j.boggiano@seld.be>
Namespace
Composer\Repository\VcsCode
public function getUrl() : string {
if ($this->gitDriver) {
return $this->gitDriver
->getUrl();
}
return 'https://' . $this->originUrl . '/' . $this->owner . '/' . $this->repository . '.git';
}