Completed
Push — master ( 70b664...2ea580 )
by Ryuichi
01:57
created

Injected::getValue()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
namespace WebStream\DI\Test;
3
4
require_once dirname(__FILE__) . '/../../Injector.php';
5
6
use WebStream\DI\Injector;
7
8
/**
9
 * InjectorTest
10
 * @author Ryuichi TANAKA.
11
 * @since 2016/09/11
12
 * @version 0.7
13
 */
14
class Injected
15
{
16
    use Injector;
17
18
    public function getValue($key)
19
    {
20
        return $this->{$key};
21
    }
22
}
23