Completed
Push — master ( bc8922...0303f9 )
by Emily
02:07
created

UseStatement   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace Spaark\CompositeUtils\Model\Reflection;
4
5
class UseStatement extends Reflector
6
{
7
    /**
8
     * @var string
9
     * @readable
10
     */
11
    protected $classname;
12
13
    /**
14
     * @var string
15
     * @readable
16
     */
17
    protected $name;
18
19 6
    public function __construct(string $classname, string $name)
20
    {
21 6
        $this->classname = $classname;
22 6
        $this->name = $name;
23 6
    }
24
}
25