ClassNameAsKeyTrait   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 2
Bugs 0 Features 0
Metric Value
eloc 2
c 2
b 0
f 0
dl 0
loc 8
ccs 0
cts 2
cp 0
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getKey() 0 3 1
1
<?php
2
3
namespace Obblm\Core\Traits;
4
5
trait ClassNameAsKeyTrait
6
{
7
    /**
8
     * @internal
9
     */
10
    public function getKey():string
11
    {
12
        return get_class($this);
13
    }
14
}
15