protected function getHttpMethod($method)
    {
        if (!$this->methodAvailable($method)) {
            throw new \Payrexx\PayrexxException('Method ' . $method . ' not implemented');
        }
        return self::$methods[$method];
    }
protected function getHttpMethod($method)
    {
        if (!$this->methodAvailable($method)) {
            throw new \Payrexx\PayrexxException('Method ' . $method . ' not implemented');
        }
        return self::$methods[$method];
    }
protected function getHttpMethod ( $ method ) { if ( ! $ this -> methodAvailable ( $ method ) ) { throw new \ Payrexx \ PayrexxException ( 'Method ' . $ method . ' not implemented' ) ; } return self :: $ methods [ $ method ] ; }
Gets the HTTP method to use for a specific API method

@param string $method The API method to check for

@return string The HTTP method to use for the queried API method
@throws \Payrexx\PayrexxException The method is not implemented yet.
Gets the HTTP method to use for a specific API method