CustomHandler
        
        extends Handler
    
    
            
            in package
            
        
    
    
    
Abstract implementation of a Handler.
Table of Contents
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
- $handler : mixed
- $templateHelper : TemplateHelper
- $exception : Throwable
- $inspector : Inspector
- $run : RunInterface
Methods
- __construct() : void
- Constructor.
- handle() : int|null
- setException() : void
- setInspector() : void
- setRun() : void
- getException() : Throwable
- getInspector() : Inspector
- getRun() : RunInterface
Constants
DONE
    public
        mixed
    DONE
    = 0x10
    
    
    
    
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
$handler
    protected
        mixed
    $handler
     = null
    
    
    
    
$templateHelper
    protected
        TemplateHelper
    $templateHelper
    
    
    
    
    
$exception
    private
        Throwable
    $exception
    
    
    
    
    
$inspector
    private
        Inspector
    $inspector
    
    
    
    
    
$run
    private
        RunInterface
    $run
    
    
    
    
    
Methods
__construct()
Constructor.
    public
                    __construct([mixed $handler = null ]) : void
    Parameters
- $handler : mixed = null
handle()
    public
                    handle() : int|null
    Tags
Return values
int|nullsetException()
    public
                    setException(Throwable $exception) : void
    Parameters
- $exception : Throwable
setInspector()
    public
                    setInspector(Inspector $inspector) : void
    Parameters
- $inspector : Inspector
setRun()
    public
                    setRun(RunInterface $run) : void
    Parameters
- $run : RunInterface
getException()
    protected
                    getException() : Throwable
    Return values
ThrowablegetInspector()
    protected
                    getInspector() : Inspector
    Return values
InspectorgetRun()
    protected
                    getRun() : RunInterface