Skip to content

Commit

Permalink
MessagesServiceProvider загрузка консольных команд вне консоли
Browse files Browse the repository at this point in the history
  • Loading branch information
Sashagm committed Aug 31, 2023
1 parent 288db21 commit 53978dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class InstallCommand extends Command
*
* @var string
*/
protected $description = 'Данная команда установит все необходимые компоненты пакета (Управление темами).';
protected $description = 'Данная команда установит все необходимые компоненты пакета messages.';

/**
* Execute the console command.
Expand Down
4 changes: 4 additions & 0 deletions src/Providers/MessagesServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ public function boot(): void
$this->commands([
InstallCommand::class,
]);
} else {
$this->commands([
InstallCommand::class,
]);
}


Expand Down

0 comments on commit 53978dc

Please sign in to comment.