AbstractMigration   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getName() 0 6 1
1
<?php
2
/**
3
 * Created by gerk on 28.07.16 17:36
4
 */
5
6
namespace PeekAndPoke\Component\Slumber\Data\Migration;
7
8
/**
9
 * @author Karsten J. Gerber <[email protected]>
10
 */
11
abstract class AbstractMigration implements Migration
12
{
13
14
    /**
15
     * @return string
16
     */
17
    public function getName()
18
    {
19
        $reflect = new \ReflectionClass($this);
20
21
        return $reflect->getShortName();
22
    }
23
}
24