|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Wrapper for Closures passed as handlers. More...
Inheritance diagram for Whoops\Handler\CallbackHandler:
Collaboration diagram for Whoops\Handler\CallbackHandler:Public Member Functions | |
| __construct ($callable) | |
| handle () | |
Public Member Functions inherited from Whoops\Handler\Handler | |
| setRun (RunInterface $run) | |
| setInspector (Inspector $inspector) | |
| setException ($exception) | |
| handle () | |
| setRun (RunInterface $run) | |
| setException ($exception) | |
| setInspector (Inspector $inspector) | |
Protected Attributes | |
| $callable | |
Additional Inherited Members | |
Data Fields inherited from Whoops\Handler\Handler | |
| 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 inherited from Whoops\Handler\Handler | |
| getRun () | |
| getInspector () | |
| getException () | |
Wrapper for Closures passed as handlers.
Can be used directly, or will be instantiated automagically by Whoops\Run if passed to Run::pushHandler
Definition at line 16 of file CallbackHandler.php.
| Whoops\Handler\CallbackHandler::__construct | ( | $callable | ) |
| InvalidArgumentException | If argument is not callable |
| callable | $callable |
Definition at line 27 of file CallbackHandler.php.
References Whoops\Handler\CallbackHandler\$callable.
| Whoops\Handler\CallbackHandler::handle | ( | ) |
Implements Whoops\Handler\HandlerInterface.
Definition at line 41 of file CallbackHandler.php.
References Whoops\Handler\CallbackHandler\$callable, Whoops\Handler\Handler\$exception, Whoops\Handler\Handler\$inspector, Whoops\Handler\Handler\$run, Whoops\Handler\Handler\getException(), Whoops\Handler\Handler\getInspector(), and Whoops\Handler\Handler\getRun().
Here is the call graph for this function:
|
protected |
Definition at line 21 of file CallbackHandler.php.
Referenced by Whoops\Handler\CallbackHandler\__construct(), and Whoops\Handler\CallbackHandler\handle().