protected function constructActionUrl(array $parameters = array())
    {
        switch($this->uriBuildMethod) {
            case self::PLAIN_URL_BUILD_METHOD;
                return $this->baseUrl;
                break;
            case self::ADDS_ON_URL_BUILD_METHOD;
                return $this->replaceAddsOn($this->baseUrl, $parameters);
                break;
            default;
                throw new Exception\BadConfiguredActionException(
                    sprintf('Unknown url build method: %s', $this->uriBuildMethod),
                    $this
                );
                break;
        }
    }
protected function constructActionUrl(array $parameters = array())
    {
        switch($this->uriBuildMethod) {
            case self::PLAIN_URL_BUILD_METHOD;
                return $this->baseUrl;
                break;
            case self::ADDS_ON_URL_BUILD_METHOD;
                return $this->replaceAddsOn($this->baseUrl, $parameters);
                break;
            default;
                throw new Exception\BadConfiguredActionException(
                    sprintf('Unknown url build method: %s', $this->uriBuildMethod),
                    $this
                );
                break;
        }
    }
protected function constructActionUrl ( array $ parameters = array ( ) ) { switch ( $ this -> uriBuildMethod ) { case self :: PLAIN_URL_BUILD_METHOD ; return $ this -> baseUrl ; break ; case self :: ADDS_ON_URL_BUILD_METHOD ; return $ this -> replaceAddsOn ( $ this -> baseUrl , $ parameters ) ; break ; default ; throw new Exception \ BadConfiguredActionException ( sprintf ( 'Unknown url build method: %s' , $ this -> uriBuildMethod ) , $ this ) ; break ; } }
Returns the url of the remote api action to be called

@param array $parameters the url construction parameter array

@throws \Msl\RemoteHost\Exception\BadConfiguredActionException

@return string
Returns the url of the remote api action to be called