FleetCart/Modules/Brand/Providers/BrandServiceProvider.php
2023-06-11 13:14:03 +01:00

28 lines
625 B
PHP

<?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',
]);
}
}