Completed
Push — master ( 54ccda...232c7c )
by Changwan
04:16
created

ConfigServiceProvider::boot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 1 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 1
b 1
f 0
1
<?php
2
namespace Wandu\Config;
3
4
use Wandu\Config\Contracts\Config as ConfigContract;
5
use Wandu\DI\ContainerInterface;
6
use Wandu\DI\ServiceProviderInterface;
7
8
class ConfigServiceProvider implements ServiceProviderInterface 
9
{
10 1
    public function register(ContainerInterface $app)
11
    {
12 1
        $app->bind(ConfigContract::class, Config::class);
13 1
    }
14
15 1
    public function boot(ContainerInterface $app)
16
    {
17 1
    }
18
}
19