UnitTestServiceProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 9
c 0
b 0
f 0
wmc 1
lcom 0
cbo 3
ccs 4
cts 4
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
/**
3
 * File was created 12.10.2015 06:49
4
 */
5
6
namespace PeekAndPoke\Component\Slumber\Helper;
7
8
use PeekAndPoke\Component\Slumber\Data\Addon\PublicReference\PublicReferenceGenerator;
9
use PeekAndPoke\Component\Slumber\Data\Addon\UserRecord\UserRecordProvider;
10
use PeekAndPoke\Component\Slumber\StaticServiceProvider;
11
12
/**
13
 * @author Karsten J. Gerber <[email protected]>
14
 */
15
class UnitTestServiceProvider extends StaticServiceProvider
16
{
17 49
    public function __construct()
18
    {
19 49
        $this->set(PublicReferenceGenerator::SERVICE_ID, new UnitTestPublicReferenceGenerator());
20
21 49
        $this->set(UserRecordProvider::SERVICE_ID, new UnitTestUserRecordProvider());
22 49
    }
23
}
24