mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-23 11:08:13 -05:00
33 lines
547 B
PHP
33 lines
547 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Support\Setting;
|
|
use Illuminate\Support\ServiceProvider;
|
|
use Illuminate\Contracts\Foundation\Application;
|
|
|
|
class SettingServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Register services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function register()
|
|
{
|
|
$this->app->scoped(Setting::class, function (Application $app) {
|
|
return new Setting();
|
|
});
|
|
|
|
}
|
|
|
|
/**
|
|
* Bootstrap services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function boot()
|
|
{
|
|
}
|
|
}
|