1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,42 +0,0 @@ |
1 |
-<?php |
|
2 |
- |
|
3 |
-namespace Illuminate\Contracts\Debug; |
|
4 |
- |
|
5 |
-use Exception; |
|
6 |
- |
|
7 |
-interface ExceptionHandler |
|
8 |
-{ |
|
9 |
- /** |
|
10 |
- * Report or log an exception. |
|
11 |
- * |
|
12 |
- * @param \Exception $e |
|
13 |
- * @return void |
|
14 |
- */ |
|
15 |
- public function report(Exception $e); |
|
16 |
- |
|
17 |
- /** |
|
18 |
- * Determine if the exception should be reported. |
|
19 |
- * |
|
20 |
- * @param \Exception $e |
|
21 |
- * @return bool |
|
22 |
- */ |
|
23 |
- public function shouldReport(Exception $e); |
|
24 |
- |
|
25 |
- /** |
|
26 |
- * Render an exception into an HTTP response. |
|
27 |
- * |
|
28 |
- * @param \Illuminate\Http\Request $request |
|
29 |
- * @param \Exception $e |
|
30 |
- * @return \Symfony\Component\HttpFoundation\Response |
|
31 |
- */ |
|
32 |
- public function render($request, Exception $e); |
|
33 |
- |
|
34 |
- /** |
|
35 |
- * Render an exception to the console. |
|
36 |
- * |
|
37 |
- * @param \Symfony\Component\Console\Output\OutputInterface $output |
|
38 |
- * @param \Exception $e |
|
39 |
- * @return void |
|
40 |
- */ |
|
41 |
- public function renderForConsole($output, Exception $e); |
|
42 |
-} |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,42 @@ |
1 |
+<?php |
|
2 |
+ |
|
3 |
+namespace Illuminate\Contracts\Debug; |
|
4 |
+ |
|
5 |
+use Exception; |
|
6 |
+ |
|
7 |
+interface ExceptionHandler |
|
8 |
+{ |
|
9 |
+ /** |
|
10 |
+ * Report or log an exception. |
|
11 |
+ * |
|
12 |
+ * @param \Exception $e |
|
13 |
+ * @return void |
|
14 |
+ */ |
|
15 |
+ public function report(Exception $e); |
|
16 |
+ |
|
17 |
+ /** |
|
18 |
+ * Determine if the exception should be reported. |
|
19 |
+ * |
|
20 |
+ * @param \Exception $e |
|
21 |
+ * @return bool |
|
22 |
+ */ |
|
23 |
+ public function shouldReport(Exception $e); |
|
24 |
+ |
|
25 |
+ /** |
|
26 |
+ * Render an exception into an HTTP response. |
|
27 |
+ * |
|
28 |
+ * @param \Illuminate\Http\Request $request |
|
29 |
+ * @param \Exception $e |
|
30 |
+ * @return \Symfony\Component\HttpFoundation\Response |
|
31 |
+ */ |
|
32 |
+ public function render($request, Exception $e); |
|
33 |
+ |
|
34 |
+ /** |
|
35 |
+ * Render an exception to the console. |
|
36 |
+ * |
|
37 |
+ * @param \Symfony\Component\Console\Output\OutputInterface $output |
|
38 |
+ * @param \Exception $e |
|
39 |
+ * @return void |
|
40 |
+ */ |
|
41 |
+ public function renderForConsole($output, Exception $e); |
|
42 |
+} |