ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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 (Run $run)
 
 setInspector (Inspector $inspector)
 
 setException (Exception $exception)
 
- Public Member Functions inherited from Whoops\Handler\HandlerInterface
 handle ()
 

Data Fields

const DONE = 0x10
 Return constants that can be returned from Handler::handle to message the handler walker. More...
 
const LAST_HANDLER = 0x20
 
const QUIT = 0x30
 

Protected Member Functions

 getRun ()
 
 getInspector ()
 
 getException ()
 

Private Attributes

 $run
 
 $inspector
 
 $exception
 

Detailed Description

Abstract implementation of a Handler.

Definition at line 16 of file Handler.php.

Member Function Documentation

◆ getException()

Whoops\Handler\Handler::getException ( )
protected

◆ getInspector()

◆ getRun()

Whoops\Handler\Handler::getRun ( )
protected

◆ setException()

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

Implements Whoops\Handler\HandlerInterface.

Definition at line 77 of file Handler.php.

References Whoops\Handler\Handler\$exception.

78  {
79  $this->exception = $exception;
80  }

◆ setInspector()

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

Implements Whoops\Handler\HandlerInterface.

Definition at line 61 of file Handler.php.

References Whoops\Handler\Handler\$inspector.

62  {
63  $this->inspector = $inspector;
64  }

◆ setRun()

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

Implements Whoops\Handler\HandlerInterface.

Definition at line 45 of file Handler.php.

References Whoops\Handler\Handler\$run.

46  {
47  $this->run = $run;
48  }

Field Documentation

◆ $exception

◆ $inspector

◆ $run

Whoops\Handler\Handler::$run
private

◆ DONE

const Whoops\Handler\Handler::DONE = 0x10

◆ LAST_HANDLER

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

Definition at line 24 of file Handler.php.

◆ QUIT


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