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