| Total Complexity | 4 |
| Total Lines | 59 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 4 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class ServiceProvider extends \Illuminate\Support\ServiceProvider |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Indicates if loading of the provider is deferred. |
||
| 12 | * |
||
| 13 | * @var bool |
||
| 14 | */ |
||
| 15 | protected $defer = false; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Register the service provider. |
||
| 19 | * |
||
| 20 | * @return void |
||
| 21 | */ |
||
| 22 | 18 | public function register() |
|
| 23 | { |
||
| 24 | 18 | $configPath = __DIR__.'/../config/laravel-security-checker.php'; |
|
| 25 | 18 | $this->mergeConfigFrom($configPath, 'laravel-security-checker'); |
|
| 26 | 18 | } |
|
| 27 | |||
| 28 | /** |
||
| 29 | * Bootstrap the application events. |
||
| 30 | * |
||
| 31 | * @return void |
||
| 32 | */ |
||
| 33 | 18 | public function boot() |
|
| 55 | 6 | ]); |
|
| 56 | 6 | } |
|
| 57 | 18 | } |
|
| 58 | |||
| 59 | /** |
||
| 60 | * Get the config path |
||
| 61 | * |
||
| 62 | * @return string |
||
| 63 | */ |
||
| 64 | 18 | protected function getConfigPath() |
|
| 67 | } |
||
| 68 | } |
||
| 69 |