|
@@ -28,19 +28,19 @@ |
|
|
block discarded – undo |
|
28
|
28
|
$this->app->bind('Joselfonseca\LaravelTactician\CommandBusInterface', config('laravel-tactician.bus')); |
|
29
|
29
|
|
|
30
|
30
|
// Register Command Generator |
|
31
|
|
- $this->app->singleton('laravel-tactician.make.command', function ($app) { |
|
|
31
|
+ $this->app->singleton('laravel-tactician.make.command', function($app) { |
|
32
|
32
|
return new MakeTacticianCommandCommand($app['files']); |
|
33
|
33
|
}); |
|
34
|
34
|
$this->commands('laravel-tactician.make.command'); |
|
35
|
35
|
|
|
36
|
36
|
// Register Handler Generator |
|
37
|
|
- $this->app->singleton('laravel-tactician.make.handler', function ($app) { |
|
|
37
|
+ $this->app->singleton('laravel-tactician.make.handler', function($app) { |
|
38
|
38
|
return new MakeTacticianHandlerCommand($app['files']); |
|
39
|
39
|
}); |
|
40
|
40
|
$this->commands('laravel-tactician.make.handler'); |
|
41
|
41
|
|
|
42
|
42
|
// Register Comman+Handler Generator Command |
|
43
|
|
- $this->app->singleton('laravel-tactician.make.tactician', function ($app) { |
|
|
43
|
+ $this->app->singleton('laravel-tactician.make.tactician', function($app) { |
|
44
|
44
|
return new MakeTacticianCommand(); |
|
45
|
45
|
}); |
|
46
|
46
|
$this->commands('laravel-tactician.make.tactician'); |
Please login to merge, or discard this patch.