21 lines
592 B
PHP
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');
|
|
}
|
|
}
|