protected function processRequest($method, $uri, $params = null, $body = null)
    {
        $methodString = $this->getMethod($method);

        if (method_exists($this, $methodString)) {
            return $this->$methodString($method, $uri, $params, $body);
        } else {
            throw new InvalidRequestMethodException("request method '{$method}' not implemented");
        }
    }
protected function processRequest($method, $uri, $params = null, $body = null)
    {
        $methodString = $this->getMethod($method);

        if (method_exists($this, $methodString)) {
            return $this->$methodString($method, $uri, $params, $body);
        } else {
            throw new InvalidRequestMethodException("request method '{$method}' not implemented");
        }
    }
protected function processRequest ( $ method , $ uri , $ params = null , $ body = null ) { $ methodString = $ this -> getMethod ( $ method ) ; if ( method_exists ( $ this , $ methodString ) ) { return $ this -> $ methodString ( $ method , $ uri , $ params , $ body ) ; } else { throw new InvalidRequestMethodException ( "request method '{$method}' not implemented" ) ; } }
precess the request

@param string $method the request method
@param string $uri    the uri string
@param mixed  $params the optional query string parameters
@param string $body   the (post) body

@return mixed
@throws Exceptions\InvalidRequestMethodException
precess the request