Total Complexity | 3 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class ExceptionHandlerServiceProvider extends ServiceProvider |
||
15 | { |
||
16 | /** |
||
17 | * Register the service provider. |
||
18 | * |
||
19 | * @return void |
||
20 | */ |
||
21 | 27 | public function register() |
|
22 | { |
||
23 | 27 | $this->registerExceptionHandlersRepository(); |
|
24 | |||
25 | 27 | $this->extendExceptionHandler(); |
|
26 | 27 | } |
|
27 | |||
28 | /** |
||
29 | * Register the custom exception handlers repository. |
||
30 | * |
||
31 | * @return void |
||
32 | */ |
||
33 | 27 | private function registerExceptionHandlersRepository() |
|
36 | 27 | } |
|
37 | |||
38 | /** |
||
39 | * Extend the Laravel default exception handler. |
||
40 | * |
||
41 | * @return void |
||
42 | */ |
||
43 | 27 | private function extendExceptionHandler() |
|
47 | 27 | }); |
|
48 | 27 | } |
|
50 |