| Total Complexity | 4 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class ServiceProvider extends \Illuminate\Support\ServiceProvider |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Indicates if loading of the provider is deferred. |
||
| 9 | * |
||
| 10 | * @var bool |
||
| 11 | */ |
||
| 12 | protected $defer = true; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Register the service provider. |
||
| 16 | * |
||
| 17 | * @return void |
||
| 18 | */ |
||
| 19 | public function register() |
||
| 20 | { |
||
| 21 | $configPath = __DIR__ . '/../config/laravel-security-checker.php'; |
||
| 22 | $this->mergeConfigFrom($configPath, 'laravel-security-checker'); |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Bootstrap the application events. |
||
| 27 | * |
||
| 28 | * @return void |
||
| 29 | */ |
||
| 30 | public function boot() |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Get the config path |
||
| 38 | * |
||
| 39 | * @return string |
||
| 40 | */ |
||
| 41 | protected function getConfigPath() |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Publish the config file |
||
| 48 | * |
||
| 49 | * @param string $configPath |
||
| 50 | */ |
||
| 51 | protected function publishConfig($configPath) |
||
| 54 | } |
||
| 55 | } |
||
| 56 |