ProxyServiceProvider::boot()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 0
nc 1
nop 0
dl 0
loc 2
ccs 1
cts 1
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Modules\Proxy\Providers;
4
5
use Illuminate\Support\ServiceProvider;
6
use Modules\Proxy\Contracts\ProxyRepositoryContract;
7
use Modules\Proxy\Contracts\ProxyServiceContract;
8
use Modules\Proxy\Repositories\ProxyRepository;
9
use Modules\Proxy\Services\ProxyService;
10
11
class ProxyServiceProvider extends ServiceProvider
12
{
13
    /**
14
     * Boot the application events.
15
     *
16
     * @return void
17
     */
18 43
    public function boot()
19
    {
20 43
    }
21
22
    /**
23
     * Register the service provider.
24
     *
25
     * @return void
26
     */
27 43
    public function register()
28
    {
29 43
        $this->app->bind(
30 43
            ProxyServiceContract::class,
31 43
            ProxyService::class
32
        );
33
34 43
        $this->app->bind(
35 43
            ProxyRepositoryContract::class,
36 43
            ProxyRepository::class
37
        );
38 43
    }
39
}
40