comparison src/AuthServiceProvider.php @ 0:90e38de8f2ba

Initial Commit
author luka
date Wed, 13 Aug 2025 22:17:20 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:90e38de8f2ba
1 <?php
2
3 namespace Wizard\Auth;
4
5 use Illuminate\Contracts\Support\DeferrableProvider;
6 use Illuminate\Support\ServiceProvider;
7
8 class AuthServiceProvider extends ServiceProvider implements DeferrableProvider
9 {
10 /**
11 * Register any application services.
12 *
13 * @return void
14 */
15 public function register()
16 {
17 //
18 }
19
20 /**
21 * Bootstrap any application services.
22 *
23 * @return void
24 */
25 public function boot()
26 {
27 if (! $this->app->runningInConsole()) {
28 return;
29 }
30
31 $this->commands([
32 Console\InstallCommand::class,
33 ]);
34 }
35
36 /**
37 * Get the services provided by the provider.
38 *
39 * @return array
40 */
41 public function provides()
42 {
43 return [Console\InstallCommand::class];
44 }
45 }