public function getConnectionAddress():string
    {
        $serviceList  = $this->getServiceList();
        if (App::hasBean('balancerSelector')) {
            $balancerType = $this->poolConfig->getBalancer();
            $balancer     = balancer()->select($balancerType);
            return $balancer->select($serviceList);
        }
        return current($serviceList);
    }
public function getConnectionAddress():string
    {
        $serviceList  = $this->getServiceList();
        if (App::hasBean('balancerSelector')) {
            $balancerType = $this->poolConfig->getBalancer();
            $balancer     = balancer()->select($balancerType);
            return $balancer->select($serviceList);
        }
        return current($serviceList);
    }
public function getConnectionAddress ( ) : string { $ serviceList = $ this -> getServiceList ( ) ; if ( App :: hasBean ( 'balancerSelector' ) ) { $ balancerType = $ this -> poolConfig -> getBalancer ( ) ; $ balancer = balancer ( ) -> select ( $ balancerType ) ; return $ balancer -> select ( $ serviceList ) ; } return current ( $ serviceList ) ; }
Get one address

@return string "127.0.0.1:88"
Get one address