equal
deleted
inserted
replaced
1 <?php namespace App\Providers; |
1 <?php |
|
2 |
|
3 namespace CorpusParole\Providers; |
2 |
4 |
3 use Illuminate\Support\ServiceProvider; |
5 use Illuminate\Support\ServiceProvider; |
4 |
6 |
5 class AppServiceProvider extends ServiceProvider { |
7 class AppServiceProvider extends ServiceProvider |
|
8 { |
|
9 /** |
|
10 * Bootstrap any application services. |
|
11 */ |
|
12 public function boot() |
|
13 { |
|
14 // |
|
15 } |
6 |
16 |
7 /** |
17 /** |
8 * Bootstrap any application services. |
18 * Register any application services. |
9 * |
19 * |
10 * @return void |
20 * This service provider is a great spot to register your various container |
11 */ |
21 * bindings with the application. As you can see, we are registering our |
12 public function boot() |
22 * "Registrar" implementation here. You can add your own bindings too! |
13 { |
23 */ |
14 // |
24 public function register() |
15 } |
25 { |
16 |
26 $this->app->bind( |
17 /** |
27 'Illuminate\Contracts\Auth\Registrar', |
18 * Register any application services. |
28 'CorpusParole\Services\Registrar' |
19 * |
29 ); |
20 * This service provider is a great spot to register your various container |
30 } |
21 * bindings with the application. As you can see, we are registering our |
|
22 * "Registrar" implementation here. You can add your own bindings too! |
|
23 * |
|
24 * @return void |
|
25 */ |
|
26 public function register() |
|
27 { |
|
28 $this->app->bind( |
|
29 'Illuminate\Contracts\Auth\Registrar', |
|
30 'App\Services\Registrar' |
|
31 ); |
|
32 } |
|
33 |
|
34 } |
31 } |