Passed
Push — develop ( 5798bc...38a6c5 )
by Fu
03:13 queued 12s
created

ServiceServiceProvider::boot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Modules\Example\Providers;
4
5
6
use Illuminate\Support\ServiceProvider;
7
8
class ServiceServiceProvider extends ServiceProvider
9
{
10
    /**
11
     * 绑定服务接口
12
     *
13
     * @return void
14
     */
15
    public function boot()
16
    {
17
        $this->app->bind(\Modules\Example\Services\ExampleService::class, \Modules\Example\Services\ExampleServiceI::class);
18
        //
19
    }
20
}
21