protected function getServiceList()
    {
        $name = $this->poolConfig->getName();
        if ($this->poolConfig->isUseProvider() && App::hasBean('providerSelector')) {
            $type = $this->poolConfig->getProvider();

            return provider()->select($type)->getServiceList($name);
        }

        $uri = $this->poolConfig->getUri();
        if (empty($uri)) {
            $error = sprintf('Service does not configure uri name=%s', $name);
            App::error($error);
            throw new \InvalidArgumentException($error);
        }

        return $uri;
    }
protected function getServiceList()
    {
        $name = $this->poolConfig->getName();
        if ($this->poolConfig->isUseProvider() && App::hasBean('providerSelector')) {
            $type = $this->poolConfig->getProvider();

            return provider()->select($type)->getServiceList($name);
        }

        $uri = $this->poolConfig->getUri();
        if (empty($uri)) {
            $error = sprintf('Service does not configure uri name=%s', $name);
            App::error($error);
            throw new \InvalidArgumentException($error);
        }

        return $uri;
    }
protected function getServiceList ( ) { $ name = $ this -> poolConfig -> getName ( ) ; if ( $ this -> poolConfig -> isUseProvider ( ) && App :: hasBean ( 'providerSelector' ) ) { $ type = $ this -> poolConfig -> getProvider ( ) ; return provider ( ) -> select ( $ type ) -> getServiceList ( $ name ) ; } $ uri = $ this -> poolConfig -> getUri ( ) ; if ( empty ( $ uri ) ) { $ error = sprintf ( 'Service does not configure uri name=%s' , $ name ) ; App :: error ( $ error ) ; throw new \ InvalidArgumentException ( $ error ) ; } return $ uri ; }
Get service list

@return array
<pre>
[
"127.0.0.1:88",
"127.0.0.1:88"
]
</pre>
Get service list