public function getConnection($serviceName)
    {
        if (empty($this->connectionPool[$serviceName])) {
            $this->initConnection($serviceName);
        }

        return $this->connectionPool[$serviceName];
    }
public function getConnection($serviceName)
    {
        if (empty($this->connectionPool[$serviceName])) {
            $this->initConnection($serviceName);
        }

        return $this->connectionPool[$serviceName];
    }
public function getConnection ( $ serviceName ) { if ( empty ( $ this -> connectionPool [ $ serviceName ] ) ) { $ this -> initConnection ( $ serviceName ) ; } return $ this -> connectionPool [ $ serviceName ] ; }
Gets a service client connection by service name

@param string $serviceName
@return ServiceClientInterface
Gets a service client connection by service name