This commit is contained in:
Mark Gregory
2026-07-24 10:47:01 +01:00
parent dbb9566c49
commit 3f87bea5f9
62 changed files with 402 additions and 5 deletions
@@ -0,0 +1,16 @@
<?php
namespace Modules\Locations\Providers;
use Illuminate\Support\ServiceProvider;
final class LocationsServiceProvider extends ServiceProvider
{
public function register(): void
{
$this->app->register(RouteServiceProvider::class);
$this->mergeConfigFrom(module_path('Locations', 'Config/config.php'), 'locations');
}
public function boot(): void
{
$this->loadMigrationsFrom(module_path('Locations', 'Database/Migrations'));
$this->loadViewsFrom(module_path('Locations', 'Resources/views'), 'locations');
}
}