Completed
Push — master ( 573a09...fbd234 )
by Ryuichi
39:55 queued 38:23
created

StrictInjected   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 14
rs 10
c 0
b 0
f 0
1
<?php
2
namespace WebStream\DI\Test;
3
4
require_once dirname(__FILE__) . '/../../Injector.php';
5
6
use WebStream\DI\Injector;
7
8
class Sample1
9
{
10
}
11
12
class Sample2
13
{
14
}
15
16
class Sample3 extends Sample1
17
{
18
}
19
20
class StrictInjected
21
{
22
    use Injector;
23
24
    /**
25
     * @var Sample1
26
     */
27
    private $value;
28
29
    public function getValue()
30
    {
31
        return $this->value;
32
    }
33
}
34