REBELinBLUE\Deployer\Project::getRepositoryUrlAttribute PHP Méthode

getRepositoryUrlAttribute() public méthode

Gets the HTTP URL to the repository.
See also: Project::accessDetails()
public getRepositoryUrlAttribute ( ) : string | false
Résultat string | false
    public function getRepositoryUrlAttribute()
    {
        $info = $this->accessDetails();
        if (isset($info['domain']) && isset($info['reference'])) {
            return 'http://' . $info['domain'] . '/' . $info['reference'];
        }
        return false;
    }