1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
<?php /** * Whoops - php errors for cool kids * @author Filipe Dobreira <http://github.com/filp> */
namespace Whoops\Handler;
use Whoops\Exception\Inspector; use Whoops\Run;
interface HandlerInterface { /** * @return int|null A handler may return nothing, or a Handler::HANDLE_* constant */ public function handle();
/** * @param Run $run * @return void */ public function setRun(Run $run);
/** * @param \Throwable $exception * @return void */ public function setException($exception);
/** * @param Inspector $inspector * @return void */ public function setInspector(Inspector $inspector); }
|