Leaf PHP

Handler
in package
implements HandlerInterface

AbstractYes

Abstract implementation of a Handler.

Table of Contents

Interfaces

HandlerInterface

Constants

DONE  = 0x10
LAST_HANDLER  = 0x20
The Handler has handled the Throwable in some way, and wishes to skip any other Handler.
QUIT  = 0x30
The Handler has handled the Throwable in some way, and wishes to quit/stop execution

Properties

$exception  : Throwable
$inspector  : Inspector
$run  : RunInterface

Methods

setException()  : void
setInspector()  : void
setRun()  : void
getException()  : Throwable
getInspector()  : Inspector
getRun()  : RunInterface

Constants

LAST_HANDLER

The Handler has handled the Throwable in some way, and wishes to skip any other Handler.

public mixed LAST_HANDLER = 0x20

Execution will continue.

QUIT

The Handler has handled the Throwable in some way, and wishes to quit/stop execution

public mixed QUIT = 0x30

Properties

$exception

private Throwable $exception

Methods

setException()

public setException(Throwable $exception) : void
Parameters
$exception : Throwable

getException()

protected getException() : Throwable
Return values
Throwable

        
On this page

Search results