Skip to content

Commit 8d3b7f0

Browse files
committed
feat: boot domains
1 parent f927f82 commit 8d3b7f0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/Providers/SkeletonServiceProvider.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace Bit\Skeleton\Providers;
44

5+
use Bit\Skeleton\Support\Domain;
56
use Bit\Skeleton\Support\Service;
67
use Illuminate\Support\ServiceProvider;
78

@@ -15,7 +16,8 @@ class SkeletonServiceProvider extends ServiceProvider
1516
public function boot()
1617
{
1718
Service::boot();
18-
19+
Domain::boot();
20+
1921
if ($this->app->runningInConsole()) {
2022
$this->registerCommands();
2123
}
@@ -36,6 +38,10 @@ protected function registerCommands()
3638
\Bit\Skeleton\Console\Commands\FeatureMakeCommand::class,
3739

3840
\Bit\Skeleton\Console\Commands\ControllerMakeCommand::class,
41+
42+
\Bit\Skeleton\Console\Commands\DomainMakeCommand::class,
43+
44+
\Bit\Skeleton\Console\Commands\JobMakeCommand::class,
3945
]);
4046
}
4147
}

0 commit comments

Comments
 (0)