phase 4
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
namespace Modules\Blog\Providers;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
final class BlogServiceProvider extends ServiceProvider
|
||||
{
|
||||
public function register(): void
|
||||
{
|
||||
$this->app->register(RouteServiceProvider::class);
|
||||
$this->mergeConfigFrom(module_path('Blog', 'Config/config.php'), 'blog');
|
||||
}
|
||||
public function boot(): void
|
||||
{
|
||||
$this->loadMigrationsFrom(module_path('Blog', 'Database/Migrations'));
|
||||
$this->loadViewsFrom(module_path('Blog', 'Resources/views'), 'blog');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user