AppServiceProvider::boot()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 1
nc 1
nop 0
1
<?php namespace App\Providers;
2
3
use Illuminate\Support\ServiceProvider;
4
5
class AppServiceProvider extends ServiceProvider {
6
7
	/**
8
	 * Bootstrap any application services.
9
	 *
10
	 * @return void
11
	 */
12
	public function boot()
13
	{
14
		//
15
	}
16
17
	/**
18
	 * Register any application services.
19
	 *
20
	 * This service provider is a great spot to register your various container
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
}
35