We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 540a386 commit 4299b2eCopy full SHA for 4299b2e
src/Module.php
@@ -58,18 +58,16 @@ public function register(): void
58
*/
59
public function boot(): void
60
{
61
- $this->loadConfigs();
62
- $this->loadTranslations();
63
- $this->registerListeners();
64
-
65
if ($this->app->runningInConsole()) {
66
$this->registerCommands();
67
$this->loadCommandSchedule();
68
$this->loadMigrations();
69
$this->registerFactories();
70
- return;
71
}
72
+ $this->loadConfigs();
+ $this->loadTranslations();
+ $this->registerListeners();
73
$this->loadViews();
74
$this->registerPolicies();
75
$this->registerMiddleware();
0 commit comments