| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | final class JsonApiErrorServiceProvider extends ServiceProvider |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * The name of the package. |
||
| 22 | */ |
||
| 23 | public const NAME = 'json-api-error'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * The path to the translation files. |
||
| 27 | */ |
||
| 28 | public const PATH_LANG = __DIR__ . '/../../lang'; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Bootstrap the package services. |
||
| 32 | * |
||
| 33 | * @param \Illuminate\Foundation\Exceptions\Handler $handler |
||
| 34 | */ |
||
| 35 | 12 | public function boot(ExceptionHandler $handler): void |
|
| 48 |