Skip to content
This repository has been archived by the owner on Sep 22, 2024. It is now read-only.

Commit

Permalink
Add commands to ServiceProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
pactode committed Jun 18, 2019
1 parent 802a1a7 commit 3706bf8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/DomainServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
namespace Signifly\Console;

use Illuminate\Support\ServiceProvider;
use Signifly\Console\Commands\DTOCommand;
use Signifly\Console\Commands\EnumCommand;
use Signifly\Console\Commands\EventCommand;
use Signifly\Console\Commands\ModelCommand;
use Signifly\Console\Commands\ActionCommand;

class DomainServiceProvider extends ServiceProvider
{
Expand All @@ -14,6 +19,11 @@ public function boot()
], 'domain-commands-config');

$this->commands([
ActionCommand::class,
DTOCommand::class,
EnumCommand::class,
EventCommand::class,
ModelCommand::class,
]);
}

Expand Down

0 comments on commit 3706bf8

Please sign in to comment.