Completed
Push — master ( 238323...52fc21 )
by Changwan
03:17
created

ConfigServiceProvider::boot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 1 Features 0
Metric Value
cc 1
eloc 1
c 1
b 1
f 0
nc 1
nop 1
dl 0
loc 3
ccs 0
cts 3
cp 0
crap 2
rs 10
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
    public function register(ContainerInterface $app)
11
    {
12
        $app->bind(ConfigContract::class, Config::class);
13
    }
14
15
    public function boot(ContainerInterface $app)
16
    {
17
    }
18
}
19