SystemFacade
in package
Table of Contents
Methods
- cleanOutputBuffer() : string|false
- endOutputBuffering() : bool
- flushOutputBuffer() : void
- getErrorReportingLevel() : int
- getLastError() : array<string|int, mixed>|null
- getOutputBufferLevel() : int
- registerShutdownFunction() : void
- restoreErrorHandler() : void
- restoreExceptionHandler() : void
- setErrorHandler() : callable|null
- setExceptionHandler() : callable|null
- setHttpResponseCode() : int
- startOutputBuffering() : bool
- Turns on output buffering.
- stopExecution() : mixed
Methods
cleanOutputBuffer()
public
cleanOutputBuffer() : string|false
Return values
string|falseendOutputBuffering()
public
endOutputBuffering() : bool
Return values
boolflushOutputBuffer()
public
flushOutputBuffer() : void
getErrorReportingLevel()
public
getErrorReportingLevel() : int
Return values
intgetLastError()
public
getLastError() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullgetOutputBufferLevel()
public
getOutputBufferLevel() : int
Return values
intregisterShutdownFunction()
public
registerShutdownFunction(callable $function) : void
Parameters
- $function : callable
restoreErrorHandler()
public
restoreErrorHandler() : void
restoreExceptionHandler()
public
restoreExceptionHandler() : void
setErrorHandler()
public
setErrorHandler(callable $handler[, int $types = 'use-php-defaults' ]) : callable|null
Parameters
- $handler : callable
- $types : int = 'use-php-defaults'
Return values
callable|nullsetExceptionHandler()
public
setExceptionHandler(callable $handler) : callable|null
Parameters
- $handler : callable
Return values
callable|nullsetHttpResponseCode()
public
setHttpResponseCode(int $httpCode) : int
Parameters
- $httpCode : int
Return values
intstartOutputBuffering()
Turns on output buffering.
public
startOutputBuffering() : bool
Return values
boolstopExecution()
public
stopExecution(int $exitStatus) : mixed
Parameters
- $exitStatus : int