Files
ABSDEV/Modules/Testimonials/Providers/TestimonialsServiceProvider.php
T
2026-07-24 09:45:41 +01:00

21 lines
592 B
PHP

<?php
namespace Modules\Testimonials\Providers;
use Illuminate\Support\ServiceProvider;
final class TestimonialsServiceProvider extends ServiceProvider
{
public function register(): void
{
$this->app->register(RouteServiceProvider::class);
$this->mergeConfigFrom(module_path('Testimonials', 'Config/config.php'), 'testimonials');
}
public function boot(): void
{
$this->loadMigrationsFrom(module_path('Testimonials', 'Database/Migrations'));
$this->loadViewsFrom(module_path('Testimonials', 'Resources/views'), 'testimonials');
}
}