Neos\Flow\Http\Request::getRequestLine PHP Method

getRequestLine() public method

Return the Request-Line of this Request Message, consisting of the method, the uri and the HTTP version Would be, for example, "GET /foo?bar=baz HTTP/1.1" Note that the URI part is, at the moment, only possible in the form "abs_path" since the actual requestUri of the Request cannot be determined during the creation of the Request.
See also: http://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html#sec5.1
public getRequestLine ( ) : string
return string
    public function getRequestLine()
    {
        $requestUri = $this->uri->getPath() . ($this->uri->getQuery() ? '?' . $this->uri->getQuery() : '') . ($this->uri->getFragment() ? '#' . $this->uri->getFragment() : '');
        return sprintf("%s %s %s\r\n", $this->method, $requestUri, $this->version);
    }