Reflector   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getNameForClass() 0 4 1
1
<?php
2
3
4
namespace Jarobe\TaskRunnerBundle\Hydrator;
5
6
use Jarobe\TaskRunnerBundle\TaskType\TaskTypeInterface;
7
8
class Reflector
9
{
10
    /**
11
     * @param TaskTypeInterface $taskType
12
     * @return string
13
     */
14
    public function getNameForClass($taskType)
15
    {
16
        return $taskType::getName();
17
    }
18
}
19