Hprose\Swoole\Client::tryRegisterClientFactory PHP Méthode

tryRegisterClientFactory() public static méthode

public static tryRegisterClientFactory ( $scheme, $clientFactory )
    public static function tryRegisterClientFactory($scheme, $clientFactory)
    {
        if (empty(self::$clientFactories[$scheme])) {
            self::$clientFactories[$scheme] = $clientFactory;
        }
    }