src/Http/Request.php
public function getBody()
    {
        if (!isset($this->body)) {
            if (function_exists('http_get_request_body')) {
                $this->body = http_get_request_body();
            } else {
                $this->body = @file_get_contents('php://input');
            }
        }
        return $this->body;
    }
public function getBody()
    {
        if (!isset($this->body)) {
            if (function_exists('http_get_request_body')) {
                $this->body = http_get_request_body();
            } else {
                $this->body = @file_get_contents('php://input');
            }
        }
        return $this->body;
    }
public function getBody ( ) { if ( ! isset ( $ this -> body ) ) { if ( function_exists ( 'http_get_request_body' ) ) { $ this -> body = http_get_request_body ( ) ; } else { $ this -> body = @ file_get_contents ( 'php://input' ) ; } } return $ this -> body ; }
Gets post body content

@return string
Gets post body content