FleetCart/Modules/Setting/Providers/SettingServiceProvider.php

26 lines
570 B
PHP
Raw Normal View History

2023-06-11 12:14:03 +00:00
<?php
namespace Modules\Setting\Providers;
use Modules\Support\Traits\AddsAsset;
use Modules\Setting\Admin\SettingTabs;
use Illuminate\Support\ServiceProvider;
use Modules\Admin\Ui\Facades\TabManager;
class SettingServiceProvider extends ServiceProvider
{
use AddsAsset;
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
TabManager::register('settings', SettingTabs::class);
$this->addAdminAssets('admin.settings.edit', ['admin.setting.js']);
}
}