2022-04-22 19:12:07 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Providers;
|
|
|
|
|
|
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
2024-09-10 09:59:20 +02:00
|
|
|
use LibreNMS\Config;
|
2022-04-22 19:12:07 -05:00
|
|
|
|
|
|
|
|
class ConfigServiceProvider extends ServiceProvider
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Register services.
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
2023-05-24 22:21:54 +02:00
|
|
|
public function register(): void
|
2022-04-22 19:12:07 -05:00
|
|
|
{
|
2024-09-10 09:59:20 +02:00
|
|
|
//
|
|
|
|
|
}
|
2022-04-22 19:12:07 -05:00
|
|
|
|
2024-09-10 09:59:20 +02:00
|
|
|
/**
|
|
|
|
|
* Bootstrap services.
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
|
|
|
|
public function boot(): void
|
|
|
|
|
{
|
|
|
|
|
Config::load();
|
2022-04-22 19:12:07 -05:00
|
|
|
}
|
|
|
|
|
}
|