public function serverRequest(
        $protocolVersion,
        $headers,
        $body,
        $method,
        $uri,
        $serverParams,
        $queryParams,
        $parsedBody,
        $cookieParams,
        $uploadedFiles,
        $attributes = array()
    ) {
        return new Messages\Message\Request\ServerRequest\Implementation(
            $protocolVersion,
            $headers,
            $body,
            $method,
            $uri,
            $serverParams,
            $queryParams,
            $parsedBody,
            $cookieParams,
            $uploadedFiles,
            $attributes
        );
    }
public function serverRequest(
        $protocolVersion,
        $headers,
        $body,
        $method,
        $uri,
        $serverParams,
        $queryParams,
        $parsedBody,
        $cookieParams,
        $uploadedFiles,
        $attributes = array()
    ) {
        return new Messages\Message\Request\ServerRequest\Implementation(
            $protocolVersion,
            $headers,
            $body,
            $method,
            $uri,
            $serverParams,
            $queryParams,
            $parsedBody,
            $cookieParams,
            $uploadedFiles,
            $attributes
        );
    }
public function serverRequest ( $ protocolVersion , $ headers , $ body , $ method , $ uri , $ serverParams , $ queryParams , $ parsedBody , $ cookieParams , $ uploadedFiles , $ attributes = array ( ) ) { return new Messages \ Message \ Request \ ServerRequest \ Implementation ( $ protocolVersion , $ headers , $ body , $ method , $ uri , $ serverParams , $ queryParams , $ parsedBody , $ cookieParams , $ uploadedFiles , $ attributes ) ; }
Build a PSR-7 serverRequest
@param string            $protocolVersion
@param array             $headers
@param StreamInterface   $body
@param string            $method
@param UriInterface      $uri
@param array             $serverParams
@param array             $queryParams
@param null|array|object $parsedBody
@param array             $cookieParams
@param array             $uploadedFiles
@param array             $attributes
@return Messages\Message\Request\ServerRequest\Implementation
Build a PSR - 7 serverRequest