1 | <?php |
||
27 | class ExceptionHandler implements ExceptionHandlerContract |
||
28 | { |
||
29 | /** |
||
30 | * Holds an instance of the application exception handler. |
||
31 | * |
||
32 | * @var \Illuminate\Contracts\Debug\ExceptionHandler |
||
33 | */ |
||
34 | protected $appExceptionHandler; |
||
35 | |||
36 | /** |
||
37 | * Holds an instance of the container. |
||
38 | * |
||
39 | * @var \Illuminate\Contracts\Container\Container |
||
40 | */ |
||
41 | protected $container; |
||
42 | |||
43 | /** |
||
44 | * Creates a new instance of the ExceptionHandler. |
||
45 | */ |
||
46 | 6 | public function __construct(Container $container, ExceptionHandlerContract $appExceptionHandler) |
|
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | 1 | public function report(Throwable $e) |
|
59 | |||
60 | /** |
||
61 | * {@inheritdoc} |
||
62 | */ |
||
63 | 1 | public function render($request, Throwable $e) |
|
67 | |||
68 | /** |
||
69 | * {@inheritdoc} |
||
70 | */ |
||
71 | 2 | public function renderForConsole($output, Throwable $e) |
|
86 | |||
87 | /** |
||
88 | * Determine if the exception should be reported. |
||
89 | * |
||
90 | * @return bool |
||
91 | */ |
||
92 | public function shouldReport(Throwable $e) |
||
96 | } |
||
97 |