FleetCart/Modules/Brand/Providers/BrandServiceProvider.php

28 lines
625 B
PHP
Raw Normal View History

2023-06-11 12:14:03 +00:00
<?php
namespace Modules\Brand\Providers;
use Modules\Brand\Admin\BrandTabs;
use Modules\Support\Traits\AddsAsset;
use Illuminate\Support\ServiceProvider;
use Modules\Admin\Ui\Facades\TabManager;
class BrandServiceProvider extends ServiceProvider
{
use AddsAsset;
/**
* Bootstrap the application services.
*
* @return void
*/
public function boot()
{
TabManager::register('brands', BrandTabs::class);
$this->addAdminAssets('admin.brands.(create|edit)', [
'admin.media.css', 'admin.media.js', 'admin.brand.js',
]);
}
}