interface OutputInterface (View source)

OutputInterface

Methods

ResponseInterface
respond(ResponseInterface $response, boolean $returnBody = false)

Method to send the application response to the client. All headers will be sent prior to the main application output data.

Details

at line line 32
ResponseInterface respond(ResponseInterface $response, boolean $returnBody = false)

Method to send the application response to the client. All headers will be sent prior to the main application output data.

Parameters

ResponseInterface $response Respond body output.
boolean $returnBody Return body as string.

Return Value

ResponseInterface