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