Completed
Push — master ( 7e3d04...dc7866 )
by Changwan
06:39
created

ContainerServiceProvider   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 11
ccs 0
cts 7
cp 0
rs 10
c 0
b 0
f 0
wmc 2
lcom 0
cbo 1

2 Methods

Rating   Name   Duplication   Size   Complexity  
A register() 0 4 1
A boot() 0 3 1
1
<?php
2
namespace Wandu\DI;
3
4
use Doctrine\Common\Annotations\AnnotationReader;
5
use Doctrine\Common\Annotations\Reader;
6
7
class ContainerServiceProvider implements ServiceProviderInterface
8
{
9
    public function register(ContainerInterface $app)
10
    {
11
        $app->bind(Reader::class, AnnotationReader::class);
12
    }
13
14
    public function boot(ContainerInterface $app)
15
    {
16
    }
17
}