Xboard/app/Providers/SettingServiceProvider.php

33 lines
547 B
PHP
Raw Normal View History

2023-11-17 01:44:01 -05:00
<?php
namespace App\Providers;
use App\Support\Setting;
use Illuminate\Support\ServiceProvider;
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) {
return new Setting();
2023-11-17 01:44:01 -05:00
});
2023-11-17 01:44:01 -05:00
}
/**
* Bootstrap services.
*
* @return void
*/
public function boot()
{
}
}