1 | <?php |
||
8 | class Handler implements ExceptionHandlerContract |
||
9 | { |
||
10 | protected $parentHandler; |
||
11 | |||
12 | public function __construct(ExceptionHandlerContract $parentHandler) |
||
16 | |||
17 | /** |
||
18 | * Report or log an exception. |
||
19 | * |
||
20 | * @param \Exception $exception |
||
21 | * |
||
22 | * @return void |
||
23 | * @throws \Exception |
||
24 | */ |
||
25 | public function report(Exception $exception) |
||
29 | |||
30 | /** |
||
31 | * Render an exception into a response. |
||
32 | * |
||
33 | * @param \Illuminate\Http\Request $request |
||
34 | * @param \Exception $exception |
||
35 | * |
||
36 | * @return \Symfony\Component\HttpFoundation\Response |
||
37 | */ |
||
38 | public function render($request, Exception $exception) |
||
46 | |||
47 | /** |
||
48 | * Render an exception to the console. |
||
49 | * |
||
50 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
||
51 | * @param \Exception $exception |
||
52 | * |
||
53 | * @return void |
||
54 | */ |
||
55 | public function renderForConsole($output, Exception $exception) |
||
59 | } |
||
60 |