public function getEndpoint()
    {
        if ($this->_endpoint === null) {
            // will also validate the endpoint
            $this->_endpoint = new Endpoint($this->_values[self::OPTION_ENDPOINT]);
        }

        return $this->_endpoint;
    }
public function getEndpoint()
    {
        if ($this->_endpoint === null) {
            // will also validate the endpoint
            $this->_endpoint = new Endpoint($this->_values[self::OPTION_ENDPOINT]);
        }

        return $this->_endpoint;
    }
public function getEndpoint ( ) { if ( $ this -> _endpoint === null ) { // will also validate the endpoint $ this -> _endpoint = new Endpoint ( $ this -> _values [ self :: OPTION_ENDPOINT ] ) ; } return $ this -> _endpoint ; }
Get the endpoint object for the client

@throws ClientException
@return Endpoint - endpoint object
Get the endpoint object for the client