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 application. |
||
38 | * |
||
39 | * @var \Illuminate\Contracts\Foundation\Application |
||
40 | */ |
||
41 | protected $app; |
||
42 | |||
43 | /** |
||
44 | * Creates a new instance of the ExceptionHandler. |
||
45 | * |
||
46 | * @param \Illuminate\Contracts\Foundation\Application $app |
||
47 | * @param \Illuminate\Contracts\Debug\ExceptionHandler $appExceptionHandler |
||
48 | */ |
||
49 | 5 | public function __construct(Application $app, ExceptionHandlerContract $appExceptionHandler) |
|
54 | |||
55 | /** |
||
56 | * {@inheritdoc} |
||
57 | */ |
||
58 | 1 | public function report(Exception $e) |
|
62 | |||
63 | /** |
||
64 | * {@inheritdoc} |
||
65 | */ |
||
66 | public function render($request, Exception $e) |
||
70 | |||
71 | /** |
||
72 | * {@inheritdoc} |
||
73 | */ |
||
74 | 2 | public function renderForConsole($output, Exception $e) |
|
89 | } |
||
90 |