public function getCurrentEndpoint() 
    {
        assert(is_array($this->_values[self::OPTION_ENDPOINT]));
        return $this->_values[self::OPTION_ENDPOINT][$this->_currentEndpointIndex];
    }
public function getCurrentEndpoint() 
    {
        assert(is_array($this->_values[self::OPTION_ENDPOINT]));
        return $this->_values[self::OPTION_ENDPOINT][$this->_currentEndpointIndex];
    }
public function getCurrentEndpoint ( ) { assert ( is_array ( $ this -> _values [ self :: OPTION_ENDPOINT ] ) ) ; return $ this -> _values [ self :: OPTION_ENDPOINT ] [ $ this -> _currentEndpointIndex ] ; }
Get the current endpoint to use

@return string - Endpoint string to connect to
Get the current endpoint to use