ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Abstract implementation of a Handler. More...
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 | |
Abstract implementation of a Handler.
Definition at line 15 of file Handler.php.
|
protected |
Definition at line 91 of file Handler.php.
References Whoops\Handler\Handler\$exception.
Referenced by Whoops\Handler\PlainTextHandler\generateResponse(), Whoops\Handler\PrettyPageHandler\getExceptionCode(), Whoops\Handler\CallbackHandler\handle(), ilDelegatingHandler\handle(), and Whoops\Handler\PrettyPageHandler\handle().
|
protected |
Definition at line 75 of file Handler.php.
References Whoops\Handler\Handler\$inspector.
Referenced by Whoops\Handler\PlainTextHandler\dump(), ilPlainTextHandler\exceptionContent(), Whoops\Handler\PrettyPageHandler\getExceptionFrames(), Whoops\Handler\XmlResponseHandler\handle(), Whoops\Handler\CallbackHandler\handle(), ilDelegatingHandler\handle(), Whoops\Handler\JsonResponseHandler\handle(), and Whoops\Handler\PrettyPageHandler\handle().
|
protected |
Definition at line 59 of file Handler.php.
References Whoops\Handler\Handler\$run.
Referenced by Whoops\Handler\CallbackHandler\handle(), ilDelegatingHandler\handle(), and Whoops\Handler\PrettyPageHandler\handle().
Whoops\Handler\Handler::setException | ( | $exception | ) |
\Throwable | $exception |
Implements Whoops\Handler\HandlerInterface.
Definition at line 83 of file Handler.php.
References Whoops\Handler\Handler\$exception.
Whoops\Handler\Handler::setInspector | ( | Inspector | $inspector | ) |
Inspector | $inspector |
Implements Whoops\Handler\HandlerInterface.
Definition at line 67 of file Handler.php.
References Whoops\Handler\Handler\$inspector.
Whoops\Handler\Handler::setRun | ( | RunInterface | $run | ) |
RunInterface | $run |
Implements Whoops\Handler\HandlerInterface.
Definition at line 51 of file Handler.php.
References Whoops\Handler\Handler\$run, and Sabre\Event\Loop\run().
|
private |
Definition at line 46 of file Handler.php.
Referenced by Whoops\Handler\PlainTextHandler\generateResponse(), Whoops\Handler\Handler\getException(), Whoops\Handler\PrettyPageHandler\getExceptionCode(), Whoops\Handler\CallbackHandler\handle(), and Whoops\Handler\Handler\setException().
|
private |
Definition at line 41 of file Handler.php.
Referenced by Whoops\Handler\PrettyPageHandler\addDataTableCallback(), Whoops\Handler\PlainTextHandler\dump(), Whoops\Handler\Handler\getInspector(), Whoops\Handler\CallbackHandler\handle(), Whoops\Handler\PrettyPageHandler\handle(), and Whoops\Handler\Handler\setInspector().
|
private |
Definition at line 36 of file Handler.php.
Referenced by Whoops\Handler\Handler\getRun(), Whoops\Handler\CallbackHandler\handle(), and Whoops\Handler\Handler\setRun().
const Whoops\Handler\Handler::DONE = 0x10 |
Definition at line 21 of file Handler.php.
Referenced by Whoops\Handler\PrettyPageHandler\handle(), and Whoops\Handler\PlainTextHandler\handle().
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.
const Whoops\Handler\Handler::QUIT = 0x30 |
The Handler has handled the Throwable in some way, and wishes to quit/stop execution.
Definition at line 31 of file Handler.php.
Referenced by Whoops\Handler\XmlResponseHandler\handle(), Whoops\Handler\JsonResponseHandler\handle(), Whoops\Handler\PrettyPageHandler\handle(), and Whoops\Handler\PlainTextHandler\handle().