public
createResponse(int $code = 200, string $reasonPhrase = ''): ResponseInterface
Create a new response.
HTTP status code; defaults to 200
Reason phrase to associate with status code in generated response; if none is provided implementations MAY use the defaults as suggested in the HTTP specification.
Salient\Http\HttpFactory::createResponse()