\Whoops\UtilSystemFacade

Summary

Methods
Properties
Constants
startOutputBuffering()
setErrorHandler()
setExceptionHandler()
restoreExceptionHandler()
restoreErrorHandler()
registerShutdownFunction()
cleanOutputBuffer()
getOutputBufferLevel()
endOutputBuffering()
flushOutputBuffer()
getErrorReportingLevel()
getLastError()
setHttpResponseCode()
stopExecution()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

startOutputBuffering()

startOutputBuffering() : boolean

Turns on output buffering.

Returns

boolean

setErrorHandler()

setErrorHandler(callable  $handler, integer  $types = 'use-php-defaults') : callable|null

Parameters

callable $handler
integer $types

Returns

callable|null

setExceptionHandler()

setExceptionHandler(callable  $handler) : callable|null

Parameters

callable $handler

Returns

callable|null

restoreExceptionHandler()

restoreExceptionHandler() : void

restoreErrorHandler()

restoreErrorHandler() : void

registerShutdownFunction()

registerShutdownFunction(callable  $function) : void

Parameters

callable $function

cleanOutputBuffer()

cleanOutputBuffer() : string|false

Returns

string|false

getOutputBufferLevel()

getOutputBufferLevel() : integer

Returns

integer

endOutputBuffering()

endOutputBuffering() : boolean

Returns

boolean

flushOutputBuffer()

flushOutputBuffer() : void

getErrorReportingLevel()

getErrorReportingLevel() : integer

Returns

integer

getLastError()

getLastError() : array|null

Returns

array|null

setHttpResponseCode()

setHttpResponseCode(integer  $httpCode) : integer

Parameters

integer $httpCode

Returns

integer

stopExecution()

stopExecution(integer  $exitStatus) 

Parameters

integer $exitStatus