public function response($protocolVersion, $headers, $body, $statusCode = 200, $reasonPhrase = null)
    {
        return new Messages\Message\Response(
            $protocolVersion,
            $headers,
            $body,
            $statusCode,
            $reasonPhrase
        );
    }
public function response($protocolVersion, $headers, $body, $statusCode = 200, $reasonPhrase = null)
    {
        return new Messages\Message\Response(
            $protocolVersion,
            $headers,
            $body,
            $statusCode,
            $reasonPhrase
        );
    }
public function response ( $ protocolVersion , $ headers , $ body , $ statusCode = 200 , $ reasonPhrase = null ) { return new Messages \ Message \ Response ( $ protocolVersion , $ headers , $ body , $ statusCode , $ reasonPhrase ) ; }
Build a PSR-7 response
@param string          $protocolVersion
@param array           $headers
@param StreamInterface $body
@param int             $statusCode
@param string|null     $reasonPhrase
@return Messages\Message\Response
Build a PSR - 7 response