App::outputResponse
Usage
void App::outputResponse(ResponseInterface $response)Description
You should never have to execute this method, but this will output the contents of the ResponseInterface to the browser / STDOUT.Parameters
Parameter | Required | Type | Description |
---|---|---|---|
$rresponse | Yes | ResponseInterface | The PSR7 ResponseInterface to output to the client. |
Examples
Output Response
$response = new Response(); // Generate PSR7 ResponseInterface object
$app->outputResponse($response);