public function getBody()
    {
        if (in_array($this->getMethod(), array(RequestInterface::METHOD_GET, RequestInterface::METHOD_HEAD))) {
            return '';
        }

        return http_build_query($this->getRequestData());
    }
public function getBody()
    {
        if (in_array($this->getMethod(), array(RequestInterface::METHOD_GET, RequestInterface::METHOD_HEAD))) {
            return '';
        }

        return http_build_query($this->getRequestData());
    }
public function getBody ( ) { if ( in_array ( $ this -> getMethod ( ) , array ( RequestInterface :: METHOD_GET , RequestInterface :: METHOD_HEAD ) ) ) { return '' ; } return http_build_query ( $ this -> getRequestData ( ) ) ; }
Get content body
- Returns query string if not GET or HEAD

@access public
@return string
Get content body - Returns query string if not GET or HEAD