Leaf PHP

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|false

endOutputBuffering()

public endOutputBuffering() : bool
Return values
bool

getErrorReportingLevel()

public getErrorReportingLevel() : int
Return values
int

getLastError()

public getLastError() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

getOutputBufferLevel()

public getOutputBufferLevel() : int
Return values
int

registerShutdownFunction()

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|null

setExceptionHandler()

public setExceptionHandler(callable $handler) : callable|null
Parameters
$handler : callable
Return values
callable|null

setHttpResponseCode()

public setHttpResponseCode(int $httpCode) : int
Parameters
$httpCode : int
Return values
int

startOutputBuffering()

Turns on output buffering.

public startOutputBuffering() : bool
Return values
bool

stopExecution()

public stopExecution(int $exitStatus) : mixed
Parameters
$exitStatus : int

        
On this page

Search results