AbstractKeyValuableCache::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 1
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 0
dl 0
loc 1
ccs 0
cts 0
cp 0
rs 10
c 1
b 0
f 0
cc 1
nc 1
nop 0
crap 2
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
}