AbstractKeyValuableCache   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A _getObjectIdentifier() 0 2 1
A __construct() 0 1 1
1
<?php
2
namespace LE_ACME2\Cache;
3
4
use LE_ACME2\AbstractKeyValuable;
5
6
abstract class AbstractKeyValuableCache {
7
8
    protected function __construct() {}
9
10
    protected function _getObjectIdentifier(AbstractKeyValuable $object) : string {
11
        return $object->getKeyDirectoryPath();
12
    }
13
}