$request->
getProtocolVersion(),
$response->
getStatusCode(),
$response->
getReasonPhrase() ),
true,
$statusCode );
} if (strpos($request->
getHeaderLine('accept'
), 'text/html'
) === false
) { $data =
(ENVIRONMENT === 'development' || ENVIRONMENT === 'testing'
) ?
$this->
collectVars($exception,
$statusCode) : '';
$this->
respond($data,
$statusCode)->
send();
if (ENVIRONMENT !== 'testing'
) { // @codeCoverageIgnoreStart
exit($exitCode);
// @codeCoverageIgnoreEnd
} return;
}