File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ /**
4
+ * This file is part of the guanguans/laravel-exception-notify.
5
+ *
6
+ * (c) guanguans <[email protected] >
7
+ *
8
+ * This source file is subject to the MIT license that is bundled.
9
+ */
10
+
11
+ namespace Guanguans \LaravelExceptionNotify \Channels ;
12
+
13
+ class DdChannel extends Channel
14
+ {
15
+ public function report (string $ report )
16
+ {
17
+ dd ($ report );
18
+ }
19
+ }
Original file line number Diff line number Diff line change 11
11
namespace Guanguans \LaravelExceptionNotify ;
12
12
13
13
use Guanguans \LaravelExceptionNotify \Channels \ChanifyChannel ;
14
+ use Guanguans \LaravelExceptionNotify \Channels \DdChannel ;
14
15
use Guanguans \LaravelExceptionNotify \Channels \DingTalkChannel ;
15
16
use Guanguans \LaravelExceptionNotify \Channels \DumpChannel ;
16
17
use Guanguans \LaravelExceptionNotify \Channels \FeiShuChannel ;
@@ -224,6 +225,11 @@ protected function createDingTalkDriver()
224
225
);
225
226
}
226
227
228
+ protected function createDdDriver ()
229
+ {
230
+ return new DdChannel ();
231
+ }
232
+
227
233
protected function createDumpDriver ()
228
234
{
229
235
return new DumpChannel ();
You can’t perform that action at this time.
0 commit comments