File tree Expand file tree Collapse file tree 3 files changed +44
-0
lines changed Expand file tree Collapse file tree 3 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 98
98
'reporting ' => [
99
99
// \Guanguans\LaravelExceptionNotify\Listeners\Reporting\LogReportListener::class,
100
100
// \Guanguans\LaravelExceptionNotify\Listeners\Reporting\DumpReportListener::class,
101
+ // \Guanguans\LaravelExceptionNotify\Listeners\Reporting\DdReportListener::class,
101
102
],
102
103
103
104
/*
111
112
'reported ' => [
112
113
// \Guanguans\LaravelExceptionNotify\Listeners\Reported\LogReportResultListener::class,
113
114
// \Guanguans\LaravelExceptionNotify\Listeners\Reported\DumpReportResultListener::class,
115
+ // \Guanguans\LaravelExceptionNotify\Listeners\Reported\DdReportResultListener::class,
114
116
],
115
117
116
118
/*
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 <ityaozm@gmail.com>
7
+ *
8
+ * This source file is subject to the MIT license that is bundled.
9
+ */
10
+
11
+ namespace Guanguans \LaravelExceptionNotify \Listeners \Reported ;
12
+
13
+ use Guanguans \LaravelExceptionNotify \Events \ReportedEvent ;
14
+
15
+ class DdReportResultListener
16
+ {
17
+ public function handle (ReportedEvent $ event )
18
+ {
19
+ dd ($ event ->channel ->getName (), $ event ->result );
20
+ }
21
+ }
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 <ityaozm@gmail.com>
7
+ *
8
+ * This source file is subject to the MIT license that is bundled.
9
+ */
10
+
11
+ namespace Guanguans \LaravelExceptionNotify \Listeners \Reporting ;
12
+
13
+ use Guanguans \LaravelExceptionNotify \Events \ReportingEvent ;
14
+
15
+ class DdReportListener
16
+ {
17
+ public function handle (ReportingEvent $ event )
18
+ {
19
+ dd ($ event ->channel ->getName (), $ event ->report );
20
+ }
21
+ }
You can’t perform that action at this time.
0 commit comments