2023-11-17 01:44:01 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Providers;
|
|
|
|
|
|
|
|
use App\Support\Setting;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
2024-04-09 12:51:03 -04:00
|
|
|
use Illuminate\Contracts\Foundation\Application;
|
2023-11-17 01:44:01 -05:00
|
|
|
|
|
|
|
class SettingServiceProvider extends ServiceProvider
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Register services.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function register()
|
|
|
|
{
|
2025-01-21 01:57:54 -05:00
|
|
|
$this->app->scoped(Setting::class, function (Application $app) {
|
2024-04-09 12:51:03 -04:00
|
|
|
return new Setting();
|
2023-11-17 01:44:01 -05:00
|
|
|
});
|
2024-04-09 12:51:03 -04:00
|
|
|
|
2023-11-17 01:44:01 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Bootstrap services.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function boot()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|