Gush\ThirdParty\Gitlab\GitLabFactory::getGitLabClient PHP Méthode

getGitLabClient() protected static méthode

protected static getGitLabClient ( string $url ) : Gitlab\Client
$url string
Résultat Gitlab\Client
    protected static function getGitLabClient($url)
    {
        if (null === static::$client || static::$client->getBaseUrl() !== $url) {
            static::$client = new Client(trim($url, '/') . '/');
        }
        return static::$client;
    }