<?php /** * Whoops - php errors for cool kids * @author Filipe Dobreira <http://github.com/filp> */ namespace Whoops\Handler; use Whoops\Inspector\InspectorInterface; use Whoops\RunInterface; interface HandlerInterface { /** * @return int|null A handler may return nothing, or a Handler::HANDLE_* constant */ public function handle(); /** * @param RunInterface $run * @return void */ public function setRun(RunInterface $run); /** * @param \Throwable $exception * @return void */ public function setException($exception); /** * @param InspectorInterface $inspector * @return void */ public function setInspector(InspectorInterface $inspector); }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
CallbackHandler.php | File | 1.32 KB | 0644 |
|
Handler.php | File | 1.87 KB | 0644 |
|
HandlerInterface.php | File | 746 B | 0644 |
|
JsonResponseHandler.php | File | 2.06 KB | 0644 |
|
PlainTextHandler.php | File | 8.76 KB | 0644 |
|
PrettyPageHandler.php | File | 25.16 KB | 0644 |
|
XmlResponseHandler.php | File | 2.66 KB | 0644 |
|