File tree Expand file tree Collapse file tree 1 file changed +5
-13
lines changed
Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change 22
33namespace Jedymatt \LaravelSailEnv ;
44
5+ use Illuminate \Contracts \Support \DeferrableProvider ;
56use Illuminate \Support \ServiceProvider ;
7+ use Jedymatt \LaravelSailEnv \Console \SailEnvCommand ;
68
7- class LaravelSailEnvServiceProvider extends ServiceProvider
9+ class LaravelSailEnvServiceProvider extends ServiceProvider implements DeferrableProvider
810{
9- /**
10- * Register services.
11- *
12- * @return void
13- */
14- public function register ()
15- {
16- //
17- }
18-
1911 /**
2012 * Bootstrap services.
2113 *
@@ -25,15 +17,15 @@ public function boot()
2517 {
2618 if ($ this ->app ->runningInConsole ()) {
2719 $ this ->commands ([
28- Console \ SailEnvCommand::class,
20+ SailEnvCommand::class,
2921 ]);
3022 }
3123 }
3224
3325 public function provides ()
3426 {
3527 return [
36- Console \ SailEnvCommand::class,
28+ SailEnvCommand::class,
3729 ];
3830 }
3931}
You can’t perform that action at this time.
0 commit comments