21 lines
557 B
PHP
21 lines
557 B
PHP
<?php
|
|
|
|
namespace Modules\Banners\Providers;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
final class BannersServiceProvider extends ServiceProvider
|
|
{
|
|
public function register(): void
|
|
{
|
|
$this->app->register(RouteServiceProvider::class);
|
|
$this->mergeConfigFrom(module_path('Banners', 'Config/config.php'), 'banners');
|
|
}
|
|
|
|
public function boot(): void
|
|
{
|
|
$this->loadMigrationsFrom(module_path('Banners', 'Database/Migrations'));
|
|
$this->loadViewsFrom(module_path('Banners', 'Resources/views'), 'banners');
|
|
}
|
|
}
|