Completed
Branch master (b454c5)
by Ryuichi
13:04
created

Injected   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 1
dl 0
loc 9
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
/**
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