Output
class Output implements OutputInterface (View source)
Standard output object for PHP SAPI.
Properties
string | $headerSent | Property headerSent. |
Methods
Method to send the application response to the client. All headers will be sent prior to the main application output data.
Method to send the application response to the client. All headers will be sent prior to the main application output data.
Method to send a header to the client. We wrap header() function with this method for testing reason.
Send all response headers.
Send HTTP status line.
checkHeaderSent
Details
at line line 40
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.
at line line 66
string
sendBody(ResponseInterface $response)
Method to send the application response to the client. All headers will be sent prior to the main application output data.
at line line 84
Output
header(string $string, boolean $replace = true, integer $code = null)
Method to send a header to the client. We wrap header() function with this method for testing reason.
at line line 123
void
sendStatusLine(ResponseInterface $response)
Send HTTP status line.
at line line 137
bool
headersSent()
checkHeaderSent