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

ServiceServiceProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A boot() 0 3 1
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