ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
Whoops\Handler\Handler Class Reference

Abstract implementation of a Handler. More...

+ Inheritance diagram for Whoops\Handler\Handler:
+ Collaboration diagram for Whoops\Handler\Handler:

Public Member Functions

 setRun (RunInterface $run)
 
 setInspector (Inspector $inspector)
 
 setException ($exception)
 
- Public Member Functions inherited from Whoops\Handler\HandlerInterface
 handle ()
 

Data Fields

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

Protected Member Functions

 getRun ()
 
 getInspector ()
 
 getException ()
 

Private Attributes

 $run
 
 $inspector
 
 $exception
 

Detailed Description

Abstract implementation of a Handler.

Definition at line 15 of file Handler.php.

Member Function Documentation

◆ getException()

◆ getInspector()

◆ getRun()

Whoops\Handler\Handler::getRun ( )
protected

◆ setException()

Whoops\Handler\Handler::setException (   $exception)
Parameters
\Throwable$exception

Implements Whoops\Handler\HandlerInterface.

Definition at line 83 of file Handler.php.

References Whoops\Handler\Handler\$exception.

84  {
85  $this->exception = $exception;
86  }

◆ setInspector()

Whoops\Handler\Handler::setInspector ( Inspector  $inspector)
Parameters
Inspector$inspector

Implements Whoops\Handler\HandlerInterface.

Definition at line 67 of file Handler.php.

References Whoops\Handler\Handler\$inspector.

68  {
69  $this->inspector = $inspector;
70  }

◆ setRun()

Whoops\Handler\Handler::setRun ( RunInterface  $run)
Parameters
RunInterface$run

Implements Whoops\Handler\HandlerInterface.

Definition at line 51 of file Handler.php.

References Whoops\Handler\Handler\$run.

52  {
53  $this->run = $run;
54  }

Field Documentation

◆ $exception

◆ $inspector

◆ $run

Whoops\Handler\Handler::$run
private

◆ DONE

◆ LAST_HANDLER

const Whoops\Handler\Handler::LAST_HANDLER = 0x20

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

Execution will continue.

Definition at line 27 of file Handler.php.

◆ QUIT


The documentation for this class was generated from the following file: